Discuss this help topic in SecureBlackbox Forum

TElCustomCertStorage.LoadFromBufferPKCS7

TElCustomCertStorage     See also     


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


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

Declaration

[C#]
    int LoadFromBufferPKCS7(byte[] Buffer);

[VB.NET]
    Function LoadFromBufferPKCS7(ByVal Buffer As Byte()) As Integer

[Pascal]
    function LoadFromBufferPKCS7(Buffer : pointer; Size : integer) : integer;

[C++]
    int32_t LoadFromBufferPKCS7(void * Buffer, int32_t Size);

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

[Java]
    int loadFromBufferPKCS7(byte[] Buffer);

Parameters

  • 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

Description

    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