Discuss this help topic in SecureBlackbox Forum

TElAppleCertStorage.ExportWithPrivateKey

TElAppleCertStorage     


Filter: C#  VB.NET  Pascal  C++  


Loads a certificate's private key from the keychain.

Declaration

[C#]
    TElX509Certificate ExportWithPrivateKey(int Index, string password);

[VB.NET]
    Function ExportWithPrivateKey(ByVal Index As Integer, ByVal password As String) As TElX509Certificate

[Pascal]
    function ExportWithPrivateKey(Index: integer; const password: WideString): TElX509Certificate;

[C++]
    TElX509CertificateHandle ExportWithPrivateKey(int32_t Index, const sb_u16string & password);
    TElX509CertificateHandle ExportWithPrivateKey(int32_t Index, const std::wstring & password);

Parameters

  • Index - the index of the certificate to load.
  • password - private key password.

Return value

    Returns the certificate with its private key.

Description

    Use this method to obtain a certificate with its private key (e.g., for signing).

Discuss this help topic in SecureBlackbox Forum