Discuss this help topic in SecureBlackbox Forum

TElCertificateRevocationList.LoadFromBuffer

TElCertificateRevocationList     See also     


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


Use this method to loadthe CRL from memory buffer.

Declaration

[C#]
    int LoadFromBuffer(byte[] Buffer);

[VB.NET]
    Function LoadFromBuffer(ByVal Buffer As Byte()) As Integer

[Pascal]
    function LoadFromBuffer(Buffer : pointer; Size : integer) : integer;

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

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

[Java]
    int loadFromBuffer(byte[] Buffer);

Parameters

  • Buffer - Buffer with certificate data
  • Size - Size of Buffer in bytes

Return value

    0 if certificates were successfully loaded.
    SB_CRL error code otherwise.

CRL Error codes

Description

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

See also:     SaveToBuffer     LoadFromStream     LoadFromBufferPEM    

Discuss this help topic in SecureBlackbox Forum