Discuss this help topic in SecureBlackbox Forum

TElCertificateRevocationList.LoadFromBufferPEM

TElCertificateRevocationList     See also     


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


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

Declaration

[C#/Java]
    int LoadFromBufferPEM(byte[] Buffer, string Passphrase);

[VB.NET]
    Function LoadFromBufferPEM(ByVal Buffer As Byte(), ByVal Passphrase As String) As Integer

[Pascal]
    function LoadFromBufferPEM(Buffer: pointer; Size: integer; const Passphrase: string = '') : integer;

[C++]
    int32_t LoadFromBufferPEM(void * Buffer, int32_t Size, const std::string &Passphrase);

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

Parameters

  • Buffer - the buffer from which the CRL is loaded.
  • Size - the size of the buffer from which the data is loaded.
  • PassPhrase - the pass phrase to decrypt the data. If CRL is not encrypted, set this parameter to empty string.

Return value

    0 on success.
    PEM error code otherwise.

Description

    This method attempts to read the certificate revocation list from the provided memory location of the given size. The CRL must have been saved in PEM format.

See also:     LoadFromBuffer     LoadFromStreamPEM     SaveToBufferPEM    

Discuss this help topic in SecureBlackbox Forum