pasn
Class ASN1Boolean
java.lang.Object
pasn.ASN1Object
pasn.ASN1SimpleObject<java.lang.Boolean>
pasn.ASN1Boolean
- All Implemented Interfaces:
- ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1GenericObject, ASN1PrimitiveObject<java.lang.Boolean>, ASN1Resetable
public class ASN1Boolean
- extends ASN1SimpleObject<java.lang.Boolean>
Represents a {true, false} BOOLEAN
- Author:
- ncottin
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASN1Boolean
public ASN1Boolean()
getASN1Name
public final java.lang.String getASN1Name()
isTrue
public final boolean isTrue()
isValueDefault
public final boolean isValueDefault()
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
hasValue
public final boolean hasValue()
hasDefaultValue
public final boolean hasDefaultValue()
setDecodedValue
public final void setDecodedValue(java.lang.Object value)
throws ASN1FormatException,
ASN1ConstraintException
- Throws:
ASN1FormatException
ASN1ConstraintException
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
validateConstraints
public final void validateConstraints(java.lang.Boolean value)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException