Exports the private key part of this key pair as an input stream for reading.

Namespace: DidiSoft.Pgp
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547

Syntax

C#
public Stream ExportPrivateKeyStream()
Visual Basic
Public Function ExportPrivateKeyStream As Stream
Visual C++
public:
Stream^ ExportPrivateKeyStream()

Return Value

[Missing <returns> documentation for "M:DidiSoft.Pgp.KeyPairInformation.ExportPrivateKeyStream"]

Exceptions

ExceptionCondition
DidiSoft.Pgp.Exceptions..::..WrongPrivateKeyExceptionIf there is no private key in this key pair
System.IO..::..IOExceptionif an I/O error occurs.

See Also