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 Details

  • Constructor Details

    • DerInteger

      public DerInteger()
  • Method Details

    • 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 class DecoderObject
      Throws:
      TlvException - Si hay errores relativos a los TLV DER.
    • getIntegerValue

      public 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 class DecoderObject
      Returns:
      Etiqueta de tipo ASN.1 del objeto.
    • toString

      public String toString()
      Overrides:
      toString in class Object