Discuss this help topic in SecureBlackbox Forum

TElCertificateRequest.LoadFromStreamPEM

TElCertificateRequest     See also     


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


Reads the Certificate Request from the stream in PEM format.

Declaration

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

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

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

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

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

[Java]
    void loadFromStreamPEM(TElStream Stream, int Count);
    void loadFromStreamPEM(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 stream from current position till the end is read.

Return value

    0 on success.
    PEM error code otherwise.

Description

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

See also:     LoadFromStream     LoadFromBufferPEM     SaveToStreamPEM    

Discuss this help topic in SecureBlackbox Forum