Discuss this help topic in SecureBlackbox Forum


TElCustomCertStorage     See also     

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

Use this method to load multiple certificates stored in PKCS#7 (P7B) format.


    int LoadFromBufferPKCS7(byte[] Buffer);

    Function LoadFromBufferPKCS7(ByVal Buffer As Byte()) As Integer

    function LoadFromBufferPKCS7(Buffer : pointer; Size : integer) : integer;

    int32_t LoadFromBufferPKCS7(void * Buffer, int32_t Size);

    integer LoadFromBufferPKCS7(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)

    int loadFromBufferPKCS7(byte[] Buffer);


  • Buffer - buffer with PKCS#7 data.
  • Size - size of the Buffer in bytes.

Return value

    Returns 0 if certificates were successfully loaded, and PKCS#7 error code otherwise.

PKCS#7 Error codes


    Use this method to load certificates which are stored in PKCS#7 format.

See also:     LoadFromStreamPKCS7     SaveToBufferPKCS7     SaveToStreamPKCS7    

Discuss this help topic in SecureBlackbox Forum