Class PathLength
- java.lang.Object
-
- es.gob.jmulticard.asn1.DecoderObject
-
- es.gob.jmulticard.asn1.der.ContextSpecific
-
- es.gob.jmulticard.asn1.der.pkcs15.PathLength
-
public final class PathLength extends ContextSpecific
Tipo ASN.1 entero de contexto específico.
-
-
Constructor Summary
Constructors Constructor Description PathLength()
Construye un objeto ASN.1 entero de contexto específico.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkTag(byte tag)
Comprueba que el tipo proporcionado sea compatible con el del objeto ASN.1.protected void
decodeValue()
Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.(package private) int
getIntValue()
-
Methods inherited from class es.gob.jmulticard.asn1.der.ContextSpecific
getDefaultTag, getObject
-
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
getBytes, getRawDerValue, setDerValue
-
-
-
-
Field Detail
-
TAG
private static final byte TAG
- See Also:
- Constant Field Values
-
value
private transient java.lang.Integer value
-
-
Method Detail
-
getIntValue
int getIntValue()
-
decodeValue
protected void decodeValue() throws TlvException
Description copied from class:DecoderObject
Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.- Overrides:
decodeValue
in classContextSpecific
- Throws:
TlvException
- Si hay errores relativos a los TLV DER.
-
checkTag
public void checkTag(byte tag) throws Asn1Exception
Description copied from class:DecoderObject
Comprueba que el tipo proporcionado sea compatible con el del objeto ASN.1.- Overrides:
checkTag
in classContextSpecific
- Parameters:
tag
- Etiqueta de tipo a comprobar.- Throws:
Asn1Exception
- Si las etiquetas de tipo no son compatibles.
-
-