Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.LoadKeyFromBufferPKCS15

TElX509Certificate     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Loads the certificate's private key from the memory buffer. The key must be stored in PKCS15 format.

Declaration

[C#]
    void LoadKeyFromBufferPKCS15(byte[] Buffer, string Password);

[VB.NET]
    Sub LoadKeyFromBufferPKCS15(ByVal Buffer As Byte(), ByVal Password As String)

[Pascal]
    procedure LoadKeyFromBufferPKCS15(Buffer : pointer; Size : integer; const Password : string);

[C++]
    void LoadKeyFromBufferPKCS15(void * Buffer, int32_t Size, const std::string &Password);

[PHP]
    void LoadKeyFromBufferPKCS15(TSBPointer|array of byte|string|NULL $Buffer, integer $Size, string $Password)

[Java]
    void loadKeyFromBufferPKCS15(byte[] Buffer, String Password);

Parameters

  • Buffer - the buffer from which the key is loaded.
  • Size - the size of the buffer from which the data is loaded.
  • Password - Password to decrypt the key. If the key is not encrypted, set this parameter to an empty string.

Description

    Use this method to load the keys acquired from PKCS#15 security tokens.

Discuss this help topic in SecureBlackbox Forum