DerReader.readBoolean

bool readBoolean()

Reads a DER BOOLEAN.

Returns

true if the encoded value is non-zero, false otherwise.

Throws

CryptoException if the next TLV is not a BOOLEAN or

has incorrect content length.