pasn.encoding
Class ASN1UnnamedDecodedPrimitiveObject

java.lang.Object
  extended by pasn.encoding.ASN1DecodedObject
      extended by pasn.encoding.ASN1UnnamedDecodedObject
          extended by pasn.encoding.ASN1UnnamedDecodedPrimitiveObject

public final class ASN1UnnamedDecodedPrimitiveObject
extends ASN1UnnamedDecodedObject

Author:
ncottin

Constructor Summary
ASN1UnnamedDecodedPrimitiveObject(ASN1ValueDecoder decoder, ASN1ValueChecker checker, int type, ASN1Class asnClass, boolean tagged)
           
ASN1UnnamedDecodedPrimitiveObject(ASN1ValueDecoder decoder, int type, ASN1Class asnClass, boolean tagged)
           
 
Method Summary
 boolean decodeInto(ASN1GenericObject asn, boolean optional)
           
 boolean decodeInto(ASN1TaggedObject tasn, boolean optional)
           
 byte[] getValue()
           
 void reset()
           
 void setValue(byte[] value)
           
 
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 pasn.encoding.ASN1DecodedObject
decodeInto, decodeInto, decodeInto, decodeInto, getValueDecoder, getValueSizeChecker, orderComponents, orderRequiredComponents, refersTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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