Discuss this help topic in SecureBlackbox Forum

TElOCSPResponse.Save

TElOCSPResponse     See also     


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


Saves OCSP response data to a memory buffer.

Declaration

[C#]
    bool Save(ref byte[] Buffer, int StartIndex, ref int Size);

[VB.NET]
    Function Save(ByRef Buffer As Byte(), ByVal StartIndex As Integer, ByRef Size As Integer) As Boolean

[Pascal]
    function Save(Buffer : pointer; var Size : integer) : boolean;

[C++]
    bool Save(void * Buffer, int32_t &Size);

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

[Java]
    boolean save(byte[] Buffer, int StartIndex, TSBInteger Size);
    byte[] save();

Parameters

  • Buffer - buffer where the data should be saved to
  • StartIndex - index of the first byte of the data to be saved in the Buffer
  • Size - size of the Buffer

Return value

    Returns True if the data has been saved successfully. False otherwise. If the size of the Buffer is smaller than required, parameter Size is set to the required value.

Description

    Use this method to save the OCSP response data to the memory buffer.

See also:     Load    

Discuss this help topic in SecureBlackbox Forum