Build a PgpSecretKeyRingBundle from the passed in input stream.

Namespace: Org.BouncyCastle.Bcpg.OpenPgp
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Collapse imageSyntax

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.

Collapse imageExceptions

ExceptionCondition
System.IO..::..IOExceptionIf a problem parsing the stream occurs.
Org.BouncyCastle.Bcpg.OpenPgp..::..PgpExceptionIf an object is encountered which isn't a PgpSecretKeyRing.

Collapse imageSee Also