Package es.gob.jmulticard.asn1.der
Class DerInteger
- java.lang.Object
-
- es.gob.jmulticard.asn1.DecoderObject
-
- es.gob.jmulticard.asn1.der.DerInteger
-
- Direct Known Subclasses:
Reference
public class DerInteger extends DecoderObject
Tipo ASN.1 Integer.
-
-
Field Summary
Fields Modifier and Type Field Description private static byte
TAG_INTEGER
private java.math.BigInteger
value
-
Constructor Summary
Constructors Constructor Description DerInteger()
-
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.protected byte
getDefaultTag()
Obtiene la etiqueta de tipo ASN.1 del objeto.java.math.BigInteger
getIntegerValue()
Obtiene el valor entero (BigInteger
) del objeto.java.lang.String
toString()
-
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
-
-
-
Field Detail
-
TAG_INTEGER
private static final byte TAG_INTEGER
- See Also:
- Constant Field Values
-
value
private transient java.math.BigInteger value
-
-
Method Detail
-
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.- Specified by:
decodeValue
in classDecoderObject
- Throws:
TlvException
- Si hay errores relativos a los TLV DER.
-
getIntegerValue
public java.math.BigInteger getIntegerValue()
Obtiene el valor entero (BigInteger
) del objeto.- Returns:
- Valor del objeto.
-
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.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-