DerReader.readTag

Asn1Tag readTag()

Reads the next ASN.1 tag from the buffer.

Returns

The decoded Asn1Tag.

Throws

CryptoException if the buffer is exhausted or the tag

encoding is malformed.