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
Tipo ASN.1 OctectString.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte
Tipo ASN.1 OctectString.private byte[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.protected byte
Obtiene la etiqueta de tipo ASN.1 del objeto.byte[]
Proporciona valor binario del OctectString.Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
Field Details
-
TAG_OCTECTSTRING
private static final byte TAG_OCTECTSTRINGTipo ASN.1 OctectString.- See Also:
-
value
private transient byte[] value
-
-
Constructor Details
-
OctectString
public OctectString()
-
-
Method Details
-
decodeValue
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
-