Class Asn1FieldInfo

java.lang.Object
org.apache.kerby.asn1.Asn1FieldInfo
Direct Known Subclasses:
ExplicitField, ImplicitField

public class Asn1FieldInfo extends Object
Representing a field in a ASN1 collection or choice.
  • Constructor Details

    • Asn1FieldInfo

      public Asn1FieldInfo(EnumType index, Class<? extends Asn1Type> type, boolean isImplicit)
      Constructor for a tagged field, the tagNo being the same of index.
      Parameters:
      index -
      type -
      isImplicit -
    • Asn1FieldInfo

      public Asn1FieldInfo(EnumType index, int tagNo, Class<? extends Asn1Type> type, boolean isImplicit)
      Constructor for a tagged field.
      Parameters:
      index -
      tagNo -
      type -
      isImplicit -
    • Asn1FieldInfo

      public Asn1FieldInfo(EnumType index, Class<? extends Asn1Type> type)
      Constructor for a non-tagged field.
      Parameters:
      index -
      type -
  • Method Details

    • isTagged

      public boolean isTagged()
    • getTaggingOption

      public TaggingOption getTaggingOption()
    • getTagNo

      public int getTagNo()
    • getIndex

      public EnumType getIndex()
    • isImplicit

      public boolean isImplicit()
    • createFieldValue

      public Asn1Type createFieldValue()
    • getFieldTag

      public Tag getFieldTag()
    • getType

      public Class<? extends Asn1Type> getType()