Create a base ASN.1 object from a byte array.

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

Syntax

C#
public static Asn1Object FromByteArray(
	byte[] data
)
Visual Basic
Public Shared Function FromByteArray ( _
	data As Byte() _
) As Asn1Object
Visual C++
public:
static Asn1Object^ FromByteArray(
	array<unsigned char>^ data
)

Parameters

data
Type: array<System..::..Byte>[]()[][]
The byte array 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