Discuss this help topic in SecureBlackbox Forum


TElCustomCertStorage     See also     

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

Loads certificates from the memory buffer. Buffer should contain certificate in PEM format.


    int LoadFromBufferPEM(byte[] Buffer, string Password);

    Function LoadFromBufferPEM(ByVal Buffer As Byte(), ByVal Password As String) As Integer

    function LoadFromBufferPEM(Buffer : pointer; Size : longint; const Password : string) : integer;

    int32_t LoadFromBufferPEM(void * Buffer, int32_t Size, const std::string &Password);

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


  • Buffer - the buffer from which the certificates are loaded.
  • Password - the password to decrypt the certificate data.
  • Size - the size of the buffer.

Return value

    Returns 0 on success, and PEM error code otherwise.


    Use this method to load the certificates stored in memory buffer in PEM format.

See also:     LoadFromStreamPEM     SaveToBufferPEM     SaveToStreamPEM    

Discuss this help topic in SecureBlackbox Forum