|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Method Summary | |
java.lang.Object |
accept(ParserVisitor visitor,
java.lang.Object data)
Accepts a visitor. |
void |
dump()
Dumps this object's specification to System.out. |
void |
dump(java.lang.String prefix)
Dumps this object's specification to System.out prefixing each line with the given string. |
ASNObject[] |
getChildren()
|
ASNObject |
getComponent(java.lang.String aName)
Returns a child component of an ASN.1 construct given its full name. |
java.lang.Object |
getDefaultValue()
Similar to getValue() but operates on the default value of this ASN.1 object if such a value is/was defined in the specifications. |
int |
getID()
|
java.lang.String |
getName()
|
ASNObject |
getParent()
|
Tag |
getTag()
Returns a reference to an instance of this ASN.1 object's Tag. |
java.lang.Object |
getValue()
Returns the Java Object containing the current value of this ASN.1 object. |
boolean |
isOptional()
Returns true if this ASN.1 object is optional, false otherwise. |
void |
setDefaultValue(java.lang.Object defaultValue)
Similar to setValue() but operates on the default value of this ASN.1 object if such a value is/was defined in the specifications. |
void |
setOptional(boolean flag)
Sets the optional flag for this ASN.1 object to the designated value. param flag The new value of the optional flag. |
void |
setTag(Tag tag)
Sets the tag of this ASN.1 object to be the designated Tag. |
void |
setValue(java.lang.Object value)
Sets the value of this component to a native Java instance. The mapping between ASN.1 types and Java types is given below: BOOLEAN: java.lang.Boolean; INTEGER: java.math.BigInteger; BIT STRING: byte[]; OCTET STRING: byte[]; NULL: null; OID: A java.lang.String containing numeric digits and the character '.'; SEQUENCE, SEQUENCE OF, SET and SET OF: cryptix.asn1.lang.ASNObject[]; PrintableString: java.lang.String. |
| Methods inherited from interface cryptix.asn1.lang.Node |
jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent |
| Method Detail |
public ASNObject getParent()
public ASNObject[] getChildren()
public int getID()
public java.lang.String getName()
public ASNObject getComponent(java.lang.String aName)
ASNObject instance:
"certificateInfo.signature.algorithm"
public void setTag(Tag tag)
Tag.Tagpublic Tag getTag()
Tag.Tag.Tagpublic boolean isOptional()
public void setOptional(boolean flag)
public void setValue(java.lang.Object value)
The mapping between ASN.1 types and Java types is given below:
public java.lang.Object getValue()
setValue() method.setValue(java.lang.Object)public void setDefaultValue(java.lang.Object defaultValue)
defaultValue - The Java object instance representing
the default value of this ASN.1 object.public java.lang.Object getDefaultValue()
public void dump()
public void dump(java.lang.String prefix)
prefix - A string that will prefix each new line
of the output.
public java.lang.Object accept(ParserVisitor visitor,
java.lang.Object data)
throws java.io.IOException
visitor - An instance that implements the ParserVisitor
interface.java.io.IOException - If an exception occurs during
the application of the Visitor method.ParserVisitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||