pasn
Class ASN1Enumerated
java.lang.Object
pasn.ASN1Object
pasn.ASN1SimpleObject<java.math.BigInteger>
pasn.ASN1Enumerated
- All Implemented Interfaces:
- java.lang.Iterable<java.math.BigInteger>, ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1GenericObject, ASN1PrimitiveObject<java.math.BigInteger>, ASN1Resetable
public abstract class ASN1Enumerated
- extends ASN1SimpleObject<java.math.BigInteger>
- implements java.lang.Iterable<java.math.BigInteger>
- Author:
- ncottin
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASN1Enumerated
public ASN1Enumerated()
ASN1Enumerated
public ASN1Enumerated(java.math.BigInteger value)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException
ASN1Enumerated
public ASN1Enumerated(long value)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException
getASN1Name
public final java.lang.String getASN1Name()
- Specified by:
getASN1Name
in interface ASN1GenericObject
reset
public final void reset()
- Description copied from interface:
ASN1Resetable
Removes the value (or list or set of values) of this ASN.1 object. This
applies to simple and structured ASN.1 objects
- Specified by:
reset
in interface ASN1Resetable
setValue
public final void setValue(long value)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException
setDefaultValue
public final void setDefaultValue(long value)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException
setValue
public final void setValue(ASN1Enumerated value)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException
setDefaultValue
public final void setDefaultValue(ASN1Enumerated value)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException
hasValue
public final boolean hasValue()
- Specified by:
hasValue
in interface ASN1GenericObject
hasDefaultValue
public final boolean hasDefaultValue()
- Specified by:
hasDefaultValue
in interface ASN1DefaultValuedObject
isValueDefault
public final boolean isValueDefault()
- Specified by:
isValueDefault
in interface ASN1DefaultValuedObject
setDecodedValue
public final void setDecodedValue(java.lang.Object value)
throws ASN1FormatException,
ASN1ConstraintException
- Specified by:
setDecodedValue
in interface ASN1PrimitiveObject<java.math.BigInteger>
- Throws:
ASN1FormatException
ASN1ConstraintException
validateConstraints
public final void validateConstraints(java.math.BigInteger value)
throws ASN1ConstraintException
- Specified by:
validateConstraints
in interface ASN1PrimitiveObject<java.math.BigInteger>
- Throws:
ASN1ConstraintException
getValues
public abstract java.util.Set<java.math.BigInteger> getValues()
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
iterator
public final java.util.Iterator<java.math.BigInteger> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<java.math.BigInteger>