Discuss this help topic in SecureBlackbox Forum

TElCertificateRevocationListEx.SaveToBuffer

TElCertificateRevocationListEx     See also     


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


Saves the CRL to memory buffer.

Declaration

[C#/Java]
    int SaveToBuffer(out byte[] Buffer, TElX509Certificate Certificate);
    int SaveToBuffer(ref byte[] Buffer, ref int Size, TElX509Certificate Certificate);
    int SaveToBuffer(out byte[] Buffer);
    int SaveToBuffer(ref byte[] Buffer, ref int Size);

[VB.NET]
    Function SaveToBuffer(Out Buffer As Byte(), ByVal Certificate As TElX509Certificate) As Integer
    Function SaveToBuffer(ByRef Buffer As Byte(), ByRef Size As Integer, ByVal Certificate As TElX509Certificate) As Integer
    Function SaveToBuffer(Out Buffer As Byte()) As Integer
    Function SaveToBuffer(ByRef Buffer As Byte(), ByRef Size As Integer) As Integer

[Pascal]
    function SaveToBuffer(Buffer : pointer; var Size : integer; Certificate : TElX509Certificate) : integer;

[C++]
    int32_t SaveToBuffer(void * Buffer, int32_t &Size, TElX509Certificate &Certificate);
    int32_t SaveToBuffer(void * Buffer, int32_t &Size, TElX509Certificate *Certificate);

[PHP]
    integer SaveToBuffer(TSBPointer|array of byte|string|NULL $Buffer, integer &$Size, TElX509Certificate $Certificate)
    integer SaveToBuffer(TSBPointer|array of byte|string|NULL $Buffer, integer &$Size)

Parameters

  • 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


Description

    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.

See also:     SaveToStream     SaveToBufferPEM    

Discuss this help topic in SecureBlackbox Forum