Discuss this help topic in SecureBlackbox Forum

TElFullPKIResponse.SaveToBuffer

TElFullPKIResponse     See also     


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


Saves the Full PKI Response to the memory buffer.

Declaration

[C#/Java]
    bool SaveToBuffer(ref byte[] Buffer, int StartIndex, ref int Size);

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

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

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

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

Parameters

  • Buffer - memory buffer where the data should be saved.
  • Size - size of the buffer in size.
  • StartIndex - specify the maximum size of the buffer using this parameter. If the required memory exceeds this value, returns the required number of bytes; otherwise returns the number of bytes that were actually written.

Return value

Returns True if operation was completed successfully, and False otherwise.

Description

Use this method to save the Full PKI Response to the memory buffer. If the buffer is too small, the required amount of memory is returned via Size parameter.

See also:     SaveToFile     SaveToStream    

Discuss this help topic in SecureBlackbox Forum