Discuss this help topic in SecureBlackbox Forum


TElCertificateRequest     See also     

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

Reads the private key from the stream.


    int LoadKeyFromStream(System.IO.Stream Stream, int Count);

    Function LoadKeyFromStream(ByVal Stream As System.IO.Stream, ByVal Count As Integer) As Integer

    procedure LoadKeyFromStream(Stream: TStream; Count : integer = 0);

    int32_t LoadKeyFromStream(TStream &Stream, int32_t Count);
    int32_t LoadKeyFromStream(TStream *Stream, int32_t Count);

    integer LoadKeyFromStream(TStream $Stream, integer $Count)

    int loadKeyFromStream(TElStream Stream, int Count);
    int loadKeyFromStream(InputStream Stream, int Count);


  • Stream - The stream from which the certificate request 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

    Returns 0 on success, and error code otherwise.


    Use this method to load a private key to be used for request regeneration from stream.

See also:     LoadKeyFromBuffer     LoadKeyFromBufferPEM     LoadKeyFromStreamPEM     KeyMaterial    

Discuss this help topic in SecureBlackbox Forum