Discuss this help topic in SecureBlackbox Forum

TElCertificateRequest.SaveKeyToStream

TElCertificateRequest     See also     


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


Saves the private key for Certificate Request to the stream

Declaration

[C#/Java]
    void SaveKeyToStream(System.IO.Stream Stream);

[VB.NET]
    Sub SaveKeyToStream(ByVal Stream As System.IO.Stream)

[Pascal]
    procedure SaveKeyToStream(Buffer: TStream);

[C++]
    void SaveKeyToStream(TStream &Stream);
    void SaveKeyToStream(TStream *Stream);

[PHP]
    void SaveKeyToStream(TStream $Stream)

Parameters

  • Stream - The stream to which the private key is written.

Description

    Use this method to obtain the private key from Certificate Request and save it to the stream. Note, that private key is available only for just generated requests. If the request is loaded from file, its private key is inaccessible.

See also:     SaveKeyToStream     GetPrivateKey     GetRSAParams     GetDSAParams    

Discuss this help topic in SecureBlackbox Forum