Build a PgpSecretKeyRingBundle from the passed in input stream.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
| C# |
|---|
public PgpSecretKeyRingBundle( Stream inputStream ) |
| Visual Basic |
|---|
Public Sub New ( _ inputStream As Stream _ ) |
| Visual C++ |
|---|
public: PgpSecretKeyRingBundle( Stream^ inputStream ) |
Parameters
- inputStream
- Type: System.IO..::..Stream
Input stream containing data.
Exceptions
| Exception | Condition |
|---|---|
| System.IO..::..IOException | If a problem parsing the stream occurs. |
| Org.BouncyCastle.Bcpg.OpenPgp..::..PgpException | If an object is encountered which isn't a PgpSecretKeyRing. |