Skip to main content Skip to complementary content

InitiateCryptoAlgorithm Method

Overloads

InitiateCryptoAlgorithm(QTServiceType)

To be called in the startup phase of the services. Tries to load the existing crypto key from the service certificate. If it is called by the QMS (serviceType = QMS), it creates crypto keys if they are missing. It returns true if keys are in place. It throws an exception if it cannot continue. NOTE: It loads the SecretsKeys from the certificates even though UseWinAuthorization is true; -- that's this way the user can "downgrade" from "use cert auth" to "use win auth" and still be able to decrypt the secrets.

InitiateCryptoAlgorithm(QTServiceType)

To be called in the startup phase of the services. Tries to load the existing crypto key from the service certificate. If it is called by the QMS (serviceType = QMS), it creates crypto keys if they are missing. It returns true if keys are in place. It throws an exception if it cannot continue. NOTE: It loads the SecretsKeys from the certificates even though UseWinAuthorization is true; -- that's this way the user can "downgrade" from "use cert auth" to "use win auth" and still be able to decrypt the secrets.

Declaration

      public static bool InitiateCryptoAlgorithm(QTServiceType serviceType)
    

Parameters

Type Name Description
QTServiceType serviceType

Returns

Type Description
System.Boolean

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com