pasn
Class ASN1Choice
java.lang.Object
pasn.ASN1Object
pasn.ASN1Choice
- All Implemented Interfaces:
- java.lang.Iterable<ASN1MandatoryComponent>, ASN1AlternativeObject, ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1ExplicitObject, ASN1GenericObject, ASN1Resetable, ASN1TransparentObject
public abstract class ASN1Choice
- extends ASN1Object
- implements ASN1ExplicitObject, ASN1AlternativeObject
- Author:
- ncottin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASN1Choice
public ASN1Choice()
getASN1Name
public final java.lang.String getASN1Name()
- Specified by:
getASN1Name
in interface ASN1GenericObject
getInnerComponent
public final ASN1MandatoryComponent getInnerComponent()
- Specified by:
getInnerComponent
in interface ASN1TransparentObject
setDefaultValue
public final void setDefaultValue(ASN1MandatoryComponent defaultValue)
hasDefaultValue
public final boolean hasDefaultValue()
- Specified by:
hasDefaultValue
in interface ASN1DefaultValuedObject
hasValue
public final boolean hasValue()
- Specified by:
hasValue
in interface ASN1GenericObject
hasValueOrDefault
public final boolean hasValueOrDefault()
- Specified by:
hasValueOrDefault
in interface ASN1DefaultValuedObject
isValueDefault
public final boolean isValueDefault()
- Specified by:
isValueDefault
in interface ASN1DefaultValuedObject
findComponent
public final ASN1MandatoryComponent findComponent(java.lang.String name)
- Specified by:
findComponent
in interface ASN1AlternativeObject
findComponent
public final ASN1MandatoryComponent findComponent(int index)
- Specified by:
findComponent
in interface ASN1AlternativeObject
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
refersTo
public final boolean refersTo(ASN1DecodedObject ado)
- Specified by:
refersTo
in interface ASN1TransparentObject
decode
public final boolean decode(ASN1DecodedObject ado)
- Specified by:
decode
in interface ASN1TransparentObject
iterator
public final java.util.Iterator<ASN1MandatoryComponent> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<ASN1MandatoryComponent>
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object