Read a base ASN.1 object from a stream.

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

Syntax

C#
public static Asn1Object FromStream(
	Stream inStr
)
Visual Basic
Public Shared Function FromStream ( _
	inStr As Stream _
) As Asn1Object
Visual C++
public:
static Asn1Object^ FromStream(
	Stream^ inStr
)

Parameters

inStr
Type: System.IO..::..Stream
The stream to parse.

Return Value

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

Exceptions

ExceptionCondition
System.IO..::..IOExceptionIf there is a problem parsing the data.

See Also