decode

fun decode(derEncoded: ByteArray): ASN1Object?

Decodes a single DER encoded value.

Return

a ASN1Object-derived instance.

Parameters

derEncoded

the encoded bytes.

Throws

if the given bytes are not valid.