Asn1ObjectFromByteArray Method

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

Definition

Namespace: Org.BouncyCastle.Asn1
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public static Asn1Object FromByteArray(
	byte[] data
)

Parameters

data  Byte
The byte array to parse.

Return Value

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

Exceptions

IOException If there is a problem parsing the data, or parsing an object did not exhaust the available data.

See Also