Discuss this help topic in SecureBlackbox Forum

TElCertificateRevocationList.LoadFromStream

TElCertificateRevocationList     See also     


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


Use this method to loadCRL from stream.

Declaration

[C#]
    int LoadFromStream(System.IO.Stream Stream, int Count);

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

[Pascal]
    function LoadFromStream(Stream : TStream; Count : integer = 0) : integer;

[C++]
    int32_t LoadFromStream(TStream &Stream, int32_t Count);
    int32_t LoadFromStream(TStream *Stream, int32_t Count);

[PHP]
    integer LoadFromStream(TStream $Stream, integer $Count)

[Java]
    int loadFromStream(InputStream Stream, int Count);
    int loadFromStream(TElStream Stream, 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.
    Default value is 0.

Return value

    0 if certificates were successfully loaded.
    SB_CRL error code otherwise.

CRL Error codes

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.

See also:     LoadFromBuffer     LoadFromStreamPEM    

Discuss this help topic in SecureBlackbox Forum