Class CHOICE.Template.Element

java.lang.Object
org.mozilla.jss.asn1.CHOICE.Template.Element
Enclosing class:
CHOICE.Template

private static class CHOICE.Template.Element extends Object
An element in a CHOICE template, consisting of a nested template and, optionally, an implicit tag for that template.
  • Field Details

    • template

      private ASN1Template template
    • implicitTag

      private Tag implicitTag
  • Constructor Details

    • Element

      public Element(ASN1Template template)
      Creates a CHOICE template element with no implicit tag.
    • Element

      public Element(Tag implicitTag, ASN1Template template)
      Creates a CHOICE template element with an implicit tag.
  • Method Details

    • getTemplate

      public ASN1Template getTemplate()
      Returns the template of this CHOICE template element.
    • getImplicitTag

      public Tag getImplicitTag()
      Returns the implicit tag for this CHOICE template element, if there is one. If not, returns null.