pasn.encoding
Class ASN1UnnamedDecodedPrimitiveObject
java.lang.Object
pasn.encoding.ASN1DecodedObject
pasn.encoding.ASN1UnnamedDecodedObject
pasn.encoding.ASN1UnnamedDecodedPrimitiveObject
public final class ASN1UnnamedDecodedPrimitiveObject
- extends ASN1UnnamedDecodedObject
- Author:
- ncottin
Methods inherited from class pasn.encoding.ASN1UnnamedDecodedObject |
getAsnClass, getLength, getLengthIndex, getPosition, getTypeOrTag, getValueIndex, isConstructed, isIndefiniteLength, isPrimitive, isSkipTag, isTagged, refersTo, refersTo, setAsnClass, setIndefiniteLength, setLength, setLengthIndex, setPosition, setPrimitive, setSkipTag, setTypeOrTag, setValueIndex |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASN1UnnamedDecodedPrimitiveObject
public ASN1UnnamedDecodedPrimitiveObject(ASN1ValueDecoder decoder,
int type,
ASN1Class asnClass,
boolean tagged)
ASN1UnnamedDecodedPrimitiveObject
public ASN1UnnamedDecodedPrimitiveObject(ASN1ValueDecoder decoder,
ASN1ValueChecker checker,
int type,
ASN1Class asnClass,
boolean tagged)
- Parameters:
decoder
- checker
- type
- asnClass
- tagged
-
getValue
public final byte[] getValue()
- Returns:
- the value
setValue
public final void setValue(byte[] value)
- Parameters:
value
- the value to set
reset
public void reset()
decodeInto
public boolean decodeInto(ASN1TaggedObject tasn,
boolean optional)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Specified by:
decodeInto
in class ASN1DecodedObject
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException
decodeInto
public boolean decodeInto(ASN1GenericObject asn,
boolean optional)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Specified by:
decodeInto
in class ASN1DecodedObject
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException