use of es.gob.jmulticard.asn1.der.OctectString in project jmulticard by ctt-gob-es.
the class OctectString method decodeValue.
@Override
protected void decodeValue() throws TlvException {
final Tlv tlv = new Tlv(this.getRawDerValue());
if (TAG_OCTECTSTRING != tlv.getTag()) {
throw new TlvException(// $NON-NLS-1$
"Se esperaba un TLV de tipo OctectString pero se ha encontrado uno de tipo " + HexUtils.hexify(new byte[] { tlv.getTag() }, false));
}
this.value = tlv.getValue();
}
Aggregations