Discuss this help topic in SecureBlackbox Forum

TElCertificateRequest.SaveToBuffer

TElCertificateRequest     See also     


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


This method saves Certificate Request to buffer in PKCS#10 format.

Declaration

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

[VB.NET]
    Function SaveToBuffer(Out Buffer As Byte()) As Boolean
    Function SaveToBuffer(ByRef Buffer As Byte(), 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)

[Java]
    boolean saveToBuffer(byte[] Buffer, TSBInteger Size);
    boolean saveToBuffer(byte[][] Buffer);

Parameters

  • Buffer - pointer to buffer where to put certificate request data
  • Size - the length of Buffer in bytes

Return value

    True on success.
    False if the passed buffer is too small.
    In both cases, the Size parameter is set to the actual size of certificate request.

Description

    Use this method to save Certificate Request.

See also:     LoadFromBuffer    

Discuss this help topic in SecureBlackbox Forum