Package es.gob.jmulticard.asn1.der
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 Summary
Fields Modifier and Type Field Description private static byte
TAG_OCTECTSTRING
Tipo ASN.1 OctectString.private byte[]
value
-
Constructor Summary
Constructors Constructor Description OctectString()
-
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.byte[]
getOctectStringByteValue()
Proporciona valor binario del OctectString.-
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
-
-
-
Field Detail
-
TAG_OCTECTSTRING
private static final byte TAG_OCTECTSTRING
Tipo ASN.1 OctectString.- See Also:
- Constant Field Values
-
value
private transient byte[] 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.
-
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.
-
getOctectStringByteValue
public byte[] getOctectStringByteValue()
Proporciona valor binario del OctectString.- Returns:
- Array de octetos con el valor binario del OctectString
-
-