pasn
Class ASN1OpenType

java.lang.Object
  extended by pasn.ASN1Object
      extended by pasn.ASN1OpenType
All Implemented Interfaces:
ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1ExplicitObject, ASN1GenericObject, ASN1Resetable, ASN1TransparentObject

public class ASN1OpenType
extends ASN1Object
implements ASN1TransparentObject, ASN1ExplicitObject

The X.680 ASN.1 Open Type object replaces the ANY and ANY DEFINED BY from X.208 specifications. It is a transparent object (along with the ASN1Choice type.

Author:
ncottin

Constructor Summary
ASN1OpenType()
           
 
Method Summary
 boolean decode()
           
 boolean decode(ASN1DecodedObject ado)
           
 boolean decodeInto(ASN1GenericObject asn)
           
 boolean decodeInto(ASN1MandatoryComponent comp)
           
 boolean decodeInto(ASN1TaggedObject tasn)
           
 java.lang.String getASN1Name()
           
 ASN1DecodedObject getDecodedObject()
           
 ASN1MandatoryComponent getInnerComponent()
           
 boolean hasDefaultValue()
           
 boolean hasValue()
           
 boolean hasValueOrDefault()
           
 boolean isValueDefault()
           
 boolean refersTo(ASN1DecodedObject ado)
           
 void reset()
           Removes the value (or list or set of values) of this ASN.1 object.
 void setInnerComponent(ASN1GenericObject asn)
           
 void setInnerComponent(ASN1MandatoryComponent comp)
           
 void setInnerComponent(ASN1TaggedObject tasn)
           
 java.lang.String toString()
           
 void validateConstraints(java.lang.Object value)
           
 
Methods inherited from class pasn.ASN1Object
getAsnClass, getSpecificEncoding, getSpecificEncoding, getType, hasSpecificEncodings, setSpecificEncoding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASN1OpenType

public ASN1OpenType()
Method Detail

getASN1Name

public final java.lang.String getASN1Name()
Specified by:
getASN1Name in interface ASN1GenericObject

hasValue

public final boolean hasValue()
Specified by:
hasValue in interface ASN1GenericObject

hasDefaultValue

public final boolean hasDefaultValue()
Specified by:
hasDefaultValue in interface ASN1DefaultValuedObject

hasValueOrDefault

public final boolean hasValueOrDefault()
Specified by:
hasValueOrDefault in interface ASN1DefaultValuedObject

isValueDefault

public final boolean isValueDefault()
Specified by:
isValueDefault in interface ASN1DefaultValuedObject

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

getInnerComponent

public final ASN1MandatoryComponent getInnerComponent()
Specified by:
getInnerComponent in interface ASN1TransparentObject

setInnerComponent

public final void setInnerComponent(ASN1MandatoryComponent comp)

setInnerComponent

public final void setInnerComponent(ASN1GenericObject asn)

setInnerComponent

public final void setInnerComponent(ASN1TaggedObject tasn)

getDecodedObject

public final ASN1DecodedObject getDecodedObject()

validateConstraints

public final void validateConstraints(java.lang.Object value)
                               throws ASN1ConstraintException
Throws:
ASN1ConstraintException

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

decodeInto

public final boolean decodeInto(ASN1MandatoryComponent comp)

decodeInto

public final boolean decodeInto(ASN1GenericObject asn)

decodeInto

public final boolean decodeInto(ASN1TaggedObject tasn)

decode

public final boolean decode()

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object