Package org.mozilla.jss.asn1
Class SET.Template.Element
java.lang.Object
org.mozilla.jss.asn1.SET.Template.Element
- Enclosing class:
- SET.Template
An element of a SET template.
-
Constructor Summary
ConstructorsConstructorDescriptionElement
(Tag implicitTag, ASN1Template type, boolean optional) Element
(Tag implicitTag, ASN1Template type, ASN1Value defaultVal) -
Method Summary
Modifier and TypeMethodDescriptionReturns the default value for this element, if one exists.boolean
boolean
Determines whether the given tag satisfies this SET element.
-
Constructor Details
-
Element
-
Element
-
-
Method Details
-
isOptional
public boolean isOptional() -
getImplicitTag
-
tagMatch
Determines whether the given tag satisfies this SET element.- Parameters:
tag
- Tag.- Returns:
- True if tag satisfies SET.
-
getTemplate
- Returns:
- The template for this element.
-
getDefault
Returns the default value for this element, if one exists. Otherwise, returns null.- Returns:
- Default value.
-