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 byteTipo ASN.1 OctectString.private byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDecodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.protected byteObtiene la etiqueta de tipo ASN.1 del objeto.byte[]Proporciona valor binario del OctectString.Methods inherited from class 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:DecoderObjectDecodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.- Specified by:
decodeValuein classDecoderObject- Throws:
TlvException- Si hay errores relativos a los TLV DER.
-
getDefaultTag
protected byte getDefaultTag()Description copied from class:DecoderObjectObtiene la etiqueta de tipo ASN.1 del objeto.- Specified by:
getDefaultTagin 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
-