Package es.gob.jmulticard.asn1.der
Class BitString
- java.lang.Object
-
- es.gob.jmulticard.asn1.DecoderObject
-
- es.gob.jmulticard.asn1.der.BitString
-
- Direct Known Subclasses:
AccessFlags,CommonObjectFlags,KeyUsageFlags,SubjectPublicKey
public abstract class BitString extends DecoderObject
Tipo ASN.1 BitString.
-
-
Field Summary
Fields Modifier and Type Field Description private static byteTAG_BITSTRINGTipo ASN.1 "BIT STRING".private Tlvtlv
-
Constructor Summary
Constructors Constructor Description BitString()
-
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[]getValue()Obtiene el valor binario del campo de datos del BitString.-
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
-
-
-
Field Detail
-
TAG_BITSTRING
private static final byte TAG_BITSTRING
Tipo ASN.1 "BIT STRING".- See Also:
- Constant Field Values
-
tlv
private transient Tlv tlv
-
-
Method Detail
-
decodeValue
protected void decodeValue() throws Asn1Exception, TlvExceptionDescription copied from class:DecoderObjectDecodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.- Specified by:
decodeValuein classDecoderObject- Throws:
Asn1Exception- Si hay errores correspondientes a las estructuras ASN.1 DER.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.
-
getValue
public byte[] getValue()
Obtiene el valor binario del campo de datos del BitString.- Returns:
- Valor binario del campo de datos del BitString.
-
-