Discuss this help topic in SecureBlackbox Forum


TElCertificateRevocationList     See also     

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

Saves the CRL to memory buffer.


    int SaveToBuffer(ref byte[] Buffer, ref int Size);
    int SaveToBuffer([out] ref byte[] Buffer);

    Function SaveToBuffer(ByRef Buffer As Byte(), ByRef Size As Integer) As Integer
    Function SaveToBuffer(ByRef Buffer As Byte()) As Integer

    function SaveToBuffer(Buffer : pointer; var Size : integer) : integer;

    int32_t SaveToBuffer(void * Buffer, int32_t &Size);

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


  • Buffer - Buffer with certificate data
  • Size - Size of Buffer in bytes
  • Certificate - certificate to sign the CRL

Return value

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

CRL Error codes


    This method saves the CRL to the provided memory location of the given size. If the buffer is too small (or empty), Size parameter is set to the size which will be enough to hold the whole data. The CRL is saved in DER format.
    Use overloaded method without Certificate parameter to save only a *copy* of the loaded/generated CRL (without re-signing it).

See also:     LoadFromBuffer     SaveToBufferPEM    

Discuss this help topic in SecureBlackbox Forum