Discuss this help topic in SecureBlackbox Forum


TElX509Certificate     See also     

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

Loads the certificate from the memory buffer.


    int LoadFromBufferSPC([in] byte[] Buffer);

    Function LoadFromBufferSPC(ByVal Buffer As Byte()) As Integer

    function LoadFromBufferSPC(Buffer : pointer; Size : integer) : integer;

    int32_t LoadFromBufferSPC(void * Buffer, int32_t Size);

    integer LoadFromBufferSPC(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)


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

Return value

    0 on success.
    SPC error code otherwise.


    This method attempts to read the certificate from the provided memory location of the given size. The certificate must have been saved in SPC (PKCS#7) format.

See also:     LoadFromBufferAuto     LoadKeyFromBufferPVK     LoadFromBuffer     LoadFromBufferPFX     LoadFromStream     SaveToBuffer    

Discuss this help topic in SecureBlackbox Forum