Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.LoadKeyFromBuffer

TElX509Certificate     See also     


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


Loads the certificate's private key from the memory buffer.

Declaration

[C#/Java]
    void LoadKeyFromBuffer([in] byte[] Buffer);

[VB.NET]
    Sub LoadKeyFromBuffer(ByVal Buffer As Byte())

[Pascal]
    procedure LoadKeyFromBuffer(Buffer: Pointer; Size: integer);

[C++]
    void LoadKeyFromBuffer(void * Buffer, int32_t Size);

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

Parameters

  • Buffer - the buffer from which the key is loaded.
  • Size - the size of the buffer from which the data is loaded.

Description

    This method attempts to read the certificate's private key from the provided memory location of the given size. The key must have been saved in DER format.

Discuss this help topic in SecureBlackbox Forum