Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.LoadFromStream

TElX509Certificate     See also     


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


Reads the certificate from the stream.

Declaration

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

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

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

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

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

[Java]
    void loadFromStream(TElStream Stream, int Count);
    void loadFromStream(InputStream Stream, int Count);

Parameters

  • Stream - The stream from which the certificate is loaded.
  • Count - Optional parameter that specified the number of bytes to be read. If this parameter is zero, the whole stream (from current position till the end) is read.

Description

    Use this method to read the certificate 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 certificate must have been saved in DER format.

See also:     LoadFromStreamAuto     LoadFromBuffer     SaveToStream    

Discuss this help topic in SecureBlackbox Forum