Class OctectString

java.lang.Object
es.gob.jmulticard.asn1.DecoderObject
es.gob.jmulticard.asn1.der.OctectString
Direct Known Subclasses:
Identifier

public class OctectString extends DecoderObject
Tipo ASN.1 OctectString.
  • Field Details

    • TAG_OCTECTSTRING

      private static final byte TAG_OCTECTSTRING
      Tipo ASN.1 OctectString.
      See Also:
    • value

      private transient byte[] value
  • Constructor Details

    • OctectString

      public OctectString()
  • 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.
    • 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.
    • getOctectStringByteValue

      public byte[] getOctectStringByteValue()
      Proporciona valor binario del OctectString.
      Returns:
      Array de octetos con el valor binario del OctectString