Package org.mozilla.jss.asn1
Class SET.Template.Element
- java.lang.Object
-
- org.mozilla.jss.asn1.SET.Template.Element
-
- Enclosing class:
- SET.Template
public static class SET.Template.Element extends java.lang.Object
An element of a SET template.
-
-
Constructor Summary
Constructors Constructor Description Element(Tag implicitTag, ASN1Template type, boolean optional)
Element(Tag implicitTag, ASN1Template type, ASN1Value defaultVal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1Value
getDefault()
Returns the default value for this element, if one exists.Tag
getImplicitTag()
ASN1Template
getTemplate()
boolean
isOptional()
boolean
tagMatch(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
-
isOptional
public boolean isOptional()
-
getImplicitTag
public Tag getImplicitTag()
-
tagMatch
public boolean tagMatch(Tag tag)
Determines whether the given tag satisfies this SET element.- Parameters:
tag
- Tag.- Returns:
- True if tag satisfies SET.
-
getTemplate
public ASN1Template getTemplate()
- Returns:
- The template for this element.
-
getDefault
public ASN1Value getDefault()
Returns the default value for this element, if one exists. Otherwise, returns null.- Returns:
- Default value.
-
-