Discuss this help topic in SecureBlackbox Forum


TElCertificateRevocationList     See also     

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

Saves the CRL to memory buffer.


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

    Function SaveToBuffer(Out Buffer As Byte()) As Integer
    Function SaveToBuffer(ByRef Buffer As Byte(), ByRef Size As Integer) 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)

    int saveToBuffer(byte[] Buffer, int[] Size);
    int saveToBuffer(byte[][] Buffer);
    int saveToBuffer(byte[] Buffer, TSBInteger 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