Package es.gob.jmulticard.asn1.der
Class DerBoolean
- java.lang.Object
-
- es.gob.jmulticard.asn1.DecoderObject
-
- es.gob.jmulticard.asn1.der.DerBoolean
-
public class DerBoolean extends DecoderObject
Tipo ASN.1 Boolean.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Boolean
booleanValue
private static byte
TAG_BOOLEAN
-
Constructor Summary
Constructors Constructor Description DerBoolean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decodeValue()
Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.boolean
getBooleanValue()
Obtiene el valor del objeto.protected byte
getDefaultTag()
Obtiene la etiqueta de tipo ASN.1 del objeto.-
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
-
-
-
Field Detail
-
TAG_BOOLEAN
private static final byte TAG_BOOLEAN
- See Also:
- Constant Field Values
-
booleanValue
private transient java.lang.Boolean booleanValue
-
-
Method Detail
-
decodeValue
protected void decodeValue() throws Asn1Exception, TlvException
Description copied from class:DecoderObject
Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.- Specified by:
decodeValue
in classDecoderObject
- Throws:
Asn1Exception
- Si hay errores correspondientes a las estructuras ASN.1 DER.TlvException
- Si hay errores relativos a los TLV DER.
-
getDefaultTag
protected byte getDefaultTag()
Description copied from class:DecoderObject
Obtiene la etiqueta de tipo ASN.1 del objeto.- Specified by:
getDefaultTag
in classDecoderObject
- Returns:
- Etiqueta de tipo ASN.1 del objeto.
-
getBooleanValue
public boolean getBooleanValue()
Obtiene el valor del objeto.- Returns:
- Valor del objeto Boolean.
-
-