Class GeneralizedTime

java.lang.Object
es.gob.jmulticard.asn1.DecoderObject
es.gob.jmulticard.asn1.der.GeneralizedTime

public final class GeneralizedTime extends DecoderObject
Tipo UTF8String de ASN.1. Incorpora soporte además para GeneralizedTime.
  • Field Details

  • Constructor Details

    • GeneralizedTime

      public GeneralizedTime()
  • Method Details

    • 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.
    • 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 class DecoderObject
      Throws:
      Asn1Exception - Si hay errores correspondientes a las estructuras ASN.1 DER.
      TlvException - Si hay errores relativos a los TLV DER.
    • getDateValue

      public Date getDateValue() throws Asn1Exception
      Obtiene el valor de la fecha.
      Returns:
      Valor de la fecha.
      Throws:
      Asn1Exception - Si la fecha no están en el formato esperado.
    • toString

      public String toString()
      Overrides:
      toString in class Object