Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.LoadKeyFromBuffer

TElX509Certificate     See also     


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


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

Declaration

[C#]
    void LoadKeyFromBuffer(byte[] Buffer);
    void LoadKeyFromBuffer(byte[] Buffer, int StartIndex, int Count);

[VB.NET]
    Sub LoadKeyFromBuffer(ByVal Buffer As Byte())
    Sub LoadKeyFromBuffer(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer)

[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)

[Java]
    void loadKeyFromBuffer(byte[] Buffer);
    void loadKeyFromBuffer(byte[] Buffer, int StartIndex, int Count);

Parameters

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

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