Discuss this help topic in SecureBlackbox Forum

TElCustomCertStorage.SaveToBufferPkiPath

TElCustomCertStorage     See also     


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


Use this method in derived classes to save certificates contained in storage to buffer in PkiPath format.

Declaration

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

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

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

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

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

Parameters

  • Buffer - buffer with PkiPath data.
  • StartIndex - index of the first byte in the Buffer from which to start saving.
  • Size - size of Buffer in bytes.

Return value

     True if certificates were successfully saved.
     False otherwise.

Description

    Use this method in derived classes to save currently stored certificates in PkiPath format. In a PKI path the certificate that has been issued by the trust anchor is at the first position, and the target certificate is at the last position.

See also:     LoadFromBufferPkiPath     LoadFromStreamPkiPath     SaveToStreamPkiPath    

Discuss this help topic in SecureBlackbox Forum