DerReader.enterConstructed

DerReader enterConstructed(Asn1Tag expectedTag)

Reads a constructed TLV with the expected tag and returns a new DerReader positioned over its content.

Parameters

expectedTagThe tag that the next TLV must match.

Returns

A DerReader over the constructed value's content.

Throws

CryptoException if the tag does not match.