org.mozilla.jss.asn1
public static class CHOICE.Template extends Object implements ASN1Template
CHOICE
s
Constructor Summary | |
---|---|
Template()
Creates an empty CHOICE template |
Method Summary | |
---|---|
void | addElement(ASN1Template template)
Adds a new sub-template to this CHOICE template with no implicit tag. |
void | addElement(Tag implicitTag, ASN1Template template)
Adds a new sub-template to this CHOICE template with an implicit tag. |
ASN1Value | decode(InputStream istream) |
ASN1Value | decode(Tag implicitTag, InputStream istream)
Decodes a CHOICE. |
ASN1Template | elementAt(int index)
Retrieves the element at the specified index. |
Tag | implicitTagAt(int index)
Retrieves the implicit tag of the element at the specified index.
|
void | removeAllElements()
Empties this CHOICE template. |
void | removeElementAt(int index)
Removes the element at the specified index. |
int | size()
Returns the number of elements in this CHOICE template. |
boolean | tagMatch(Tag t)
Determines whether the given tag will satisfy this template.
|
Parameters: implicitTag This parameter is ignored. A choice cannot have an implicit tag.