Exports the private key part of this key pair as an input stream for reading.
Namespace: DidiSoft.PgpAssembly: 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
| Exception | Condition |
|---|---|
| DidiSoft.Pgp.Exceptions..::..WrongPrivateKeyException | If there is no private key in this key pair |
| System.IO..::..IOException | if an I/O error occurs. |