Discuss this help topic in SecureBlackbox Forum

TElCertificateRevocationList.LoadFromStreamPEM

TElCertificateRevocationList     See also     


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


Reads the certificate revocation list from the stream. CRL is contained in PEM format.

Declaration

[C#]
    int LoadFromStreamPEM(System.IO.Stream Stream, string Passphrase, int Count);

[VB.NET]
    Function LoadFromStreamPEM(ByVal Stream As System.IO.Stream, ByVal Passphrase As String, ByVal Count As Integer) As Integer

[Pascal]
    function LoadFromStreamPEM(Stream : TStream; const Passphrase: string = ''; Count : integer = 0): integer;

[C++]
    int32_t LoadFromStreamPEM(TStream &Stream, const std::string &Passphrase, int32_t Count);
    int32_t LoadFromStreamPEM(TStream *Stream, const std::string &Passphrase, int32_t Count);

[PHP]
    integer LoadFromStreamPEM(TStream $Stream, string $Passphrase, integer $Count)

[Java]
    int loadFromStreamPEM(TElStream Stream, String Passphrase, int Count);
    int loadFromStreamPEM(InputStream Stream, String Passphrase, int Count);

Parameters

  • Stream - The stream from which the CRL is loaded.
  • Count - Optional parameter that specified the number of bytes to be read. If this parameter is zero, the stream from current position till the end is read.
  • PassPhrase - Specifies the pass phrase to decrypt the CRL data. If CRL is not encrypted, set this parameter to empty string.

Return value

    0 on success.
    PEM error code otherwise.

Description

    Use this method to read the CRL from the stream. The read operation is started at current stream position and finished when the end of the stream is reached or when the number of bytes specified in Count parameter is read. The CRL must have been saved in PEM format.

See also:     LoadFromStream     LoadFromBufferPEM    

Discuss this help topic in SecureBlackbox Forum