pasn.encoding
Class ASN1UnnamedDecodedObject
java.lang.Object
pasn.encoding.ASN1DecodedObject
pasn.encoding.ASN1UnnamedDecodedObject
- Direct Known Subclasses:
- ASN1UnnamedDecodedConstructedObject, ASN1UnnamedDecodedPrimitiveObject
public abstract class ASN1UnnamedDecodedObject
- extends ASN1DecodedObject
Generic holder for decoded ASN.1 objects
- Author:
- ncottin
Methods inherited from class pasn.encoding.ASN1DecodedObject |
decodeInto, decodeInto, 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 |
ASN1UnnamedDecodedObject
public ASN1UnnamedDecodedObject(ASN1ValueDecoder decoder,
ASN1ValueChecker checker,
int typeOrTag,
ASN1Class asnClass,
boolean primitive,
boolean tagged)
setTypeOrTag
public final void setTypeOrTag(int typeOrTag)
getTypeOrTag
public final int getTypeOrTag()
setAsnClass
public final void setAsnClass(ASN1Class asnClass)
getAsnClass
public final ASN1Class getAsnClass()
setPrimitive
public final void setPrimitive(boolean primitive)
isPrimitive
public final boolean isPrimitive()
isConstructed
public final boolean isConstructed()
isTagged
public final boolean isTagged()
setSkipTag
public final void setSkipTag(boolean skip)
isSkipTag
public boolean isSkipTag()
getPosition
public final long getPosition()
setPosition
public final void setPosition(long index)
getLength
public final long getLength()
- Returns:
- the encodedLength
setLength
public final void setLength(long encodedLength)
- Parameters:
encodedLength
- the encodedLength to set
setLengthIndex
public final void setLengthIndex(long lengthIndex)
getLengthIndex
public final long getLengthIndex()
setIndefiniteLength
public final void setIndefiniteLength(boolean indefiniteLength)
isIndefiniteLength
public final boolean isIndefiniteLength()
setValueIndex
public final void setValueIndex(long valueIndex)
getValueIndex
public final long getValueIndex()
refersTo
public final boolean refersTo(ASN1TaggedObject tasn)
- Specified by:
refersTo
in class ASN1DecodedObject
refersTo
public final boolean refersTo(ASN1GenericObject asn)
- Specified by:
refersTo
in class ASN1DecodedObject