Package org.mozilla.jss.asn1
Class SEQUENCE.Template.Element
java.lang.Object
org.mozilla.jss.asn1.SEQUENCE.Template.Element
- Enclosing class:
SEQUENCE.Template
An element of a SEQUENCE template. For each sub-template, contains the
template, its optionality, its implicit tag, and its default value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ASN1Valueprivate booleanprivate Tagprivate booleanprivate booleanprivate ASN1Template -
Constructor Summary
ConstructorsConstructorDescriptionElement(Tag implicitTag, ASN1Template type, boolean optional) Creates a new element, which may or may not be optional.Element(Tag implicitTag, ASN1Template type, boolean optional, boolean doesProduceOutput) Creates a new element, which may or may not be optional.Element(Tag implicitTag, ASN1Template type, ASN1Value defaultVal) Creates a new element with a default value. -
Method Summary
Modifier and TypeMethodDescriptionboolean(package private) boolean(package private) void(package private) booleanboolean
-
Field Details
-
doesProduceOutput
private boolean doesProduceOutput -
repeatable
private boolean repeatable -
optional
private boolean optional -
implicitTag
-
type
-
defaultVal
-
-
Constructor Details
-
Element
Creates a new element, which may or may not be optional.- Parameters:
implicitTag- Implicit tag.type- Type.optional- Optional.
-
Element
Creates a new element, which may or may not be optional.- Parameters:
implicitTag- Implicit tag.type- Type.optional- Optional.doesProduceOutput- True if produces output.
-
Element
Creates a new element with a default value.- Parameters:
implicitTag- Implicit tag.type- Type.defaultVal- Default value.
-
-
Method Details
-
producesOutput
boolean producesOutput() -
makeRepeatable
void makeRepeatable() -
isRepeatable
boolean isRepeatable() -
isOptional
public boolean isOptional() -
getImplicitTag
-
tagMatch
-
getTemplate
-
getDefault
-