DistinguishedEncodingRulesElement.this

Creates a DERElement from the supplied bytes, inferring that the first byte is the type tag. Unlike the construct that accepts a ubyte[] reference, this constructor does not "chomp" the array. This constructor expects the encoded bytes to encode only one $(DERElement). If there are any remaining bytes after decoding, an exception is thrown.

Throws

All of the same exceptions as fromBytes(), but also throws an ASN1LengthException if there are excess bytes.

Meta