Discuss this help topic in SecureBlackbox Forum


TElCustomCertStorage     See also     

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

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


    bool SaveToBufferPkiPath(ref byte[] Buffer, int StartIndex, ref int Size);

    Function SaveToBufferPkiPath(ByRef Buffer As Byte(), ByVal StartIndex As Integer, ByRef Size As Integer) As Boolean

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

    bool SaveToBufferPkiPath(void * Buffer, int32_t &Size);

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

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


  • 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.


    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