pasn.encoding
Class ASN1DecodedObject
java.lang.Object
pasn.encoding.ASN1DecodedObject
- Direct Known Subclasses:
- ASN1EmptyDecodedObject, ASN1NamedDecodedObject, ASN1UnnamedDecodedObject
public abstract class ASN1DecodedObject
- extends java.lang.Object
Generic holder for decoded ASN.1 objects
- Author:
- ncottin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASN1DecodedObject
public ASN1DecodedObject(ASN1ValueDecoder decoder)
ASN1DecodedObject
public ASN1DecodedObject(ASN1ValueDecoder decoder,
ASN1ValueChecker checker)
getValueDecoder
public final ASN1ValueDecoder getValueDecoder()
getValueSizeChecker
public final ASN1ValueChecker getValueSizeChecker()
orderComponents
public static final java.util.List<ASN1Component> orderComponents(java.util.Collection<ASN1Component> components)
orderRequiredComponents
public static final java.util.List<ASN1MandatoryComponent> orderRequiredComponents(java.util.Set<ASN1MandatoryComponent> components)
refersTo
public final boolean refersTo(ASN1GenericOrTaggedObject comp)
refersTo
public abstract boolean refersTo(ASN1TaggedObject tasn)
refersTo
public abstract boolean refersTo(ASN1GenericObject asn)
decodeInto
public final boolean decodeInto(ASN1GenericOrTaggedObject comp)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException
decodeInto
public final boolean decodeInto(ASN1Component comp)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException
decodeInto
public final boolean decodeInto(ASN1TaggedObject tasn)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException
decodeInto
public final boolean decodeInto(ASN1GenericObject asn)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException
decodeInto
public abstract boolean decodeInto(ASN1TaggedObject tasn,
boolean optional)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException
decodeInto
public abstract boolean decodeInto(ASN1GenericObject asn,
boolean optional)
throws ASN1DecodingException,
ASN1FormatException,
ASN1ConstraintException
- Throws:
ASN1DecodingException
ASN1FormatException
ASN1ConstraintException