Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.LoadFromBuffer

TElX509Certificate     See also     


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


Loads the certificate from the memory buffer.

Declaration

[C#/Java]
    void LoadFromBuffer(byte[] Buffer);
    void LoadFromBuffer(byte[] Buffer, int StartIndex, int Count);

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

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

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

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

Parameters

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

Description

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

See also:     LoadFromBufferAuto     LoadFromStream     SaveToBuffer    

Discuss this help topic in SecureBlackbox Forum