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 byteTAG_OCTECTSTRINGTipo 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 voiddecodeValue()Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.protected bytegetDefaultTag()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 TlvExceptionDescription 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
-
-