Asn1ObjectFromStream Method

Read a base ASN.1 object from a stream.

Definition

Namespace: Org.BouncyCastle.Asn1
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public static Asn1Object FromStream(
	Stream inStr
)

Parameters

inStr  Stream
The stream to parse.

Return Value

Asn1Object
The base ASN.1 object represented by the byte array.

Exceptions

IOExceptionIf there is a problem parsing the data.

See Also