EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElX509Certificate.LoadKeyFromStream

TElX509Certificate     See also    


 

Reads the certificate's private key from the stream.

 
 

Declaration

[C#]
    void LoadKeyFromStream(System.IO.Stream Stream, int Count /* = 0 */);

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

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

[VB6]
    not implemented

[ActiveX]
    not implemented

[DLL]
    not applicable;
 
 

Parameters

  • Stream - The stream from which the private key 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's private key 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 private key must have been saved in DER format.

 
 

See also:     LoadKeyFromStreamAuto     LoadKeyFromBuffer     SaveKeyToStream     LoadKeyFromStreamMS     LoadKeyFromStreamNET     LoadKeyFromStreamPEM     LoadKeyFromStreamPVK    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation