org.mozilla.jss.asn1

Class SET.Template.Element

public static class SET.Template.Element extends Object

An element of a SET template.
Constructor Summary
Element(Tag implicitTag, ASN1Template type, boolean optional)
Element(Tag implicitTag, ASN1Template type, ASN1Value defaultVal)
Method Summary
ASN1ValuegetDefault()
Returns the default value for this element, if one exists.
TaggetImplicitTag()
ASN1TemplategetTemplate()
Returns the template for this element.
booleanisOptional()
booleantagMatch(Tag tag)
Determines whether the given tag satisfies this SET element.

Constructor Detail

Element

public Element(Tag implicitTag, ASN1Template type, boolean optional)

Element

public Element(Tag implicitTag, ASN1Template type, ASN1Value defaultVal)

Method Detail

getDefault

public ASN1Value getDefault()
Returns the default value for this element, if one exists. Otherwise, returns null.

getImplicitTag

public Tag getImplicitTag()

getTemplate

public ASN1Template getTemplate()
Returns the template for this element.

isOptional

public boolean isOptional()

tagMatch

public boolean tagMatch(Tag tag)
Determines whether the given tag satisfies this SET element.