Class AbstractDERTag

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractDERTag​(int number, boolean isConstructed)
      Creates a new tag with given tag number.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getTagByte()
      Gets the value of this tag for encoding.
      int getTagNo()
      Gets the decimal value of the tag.
      boolean isConstructed()
      Determines whether the tag is constructed or primitive.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.ldaptive.asn1.DERTag

        name
    • Constructor Detail

      • AbstractDERTag

        public AbstractDERTag​(int number,
                              boolean isConstructed)
        Creates a new tag with given tag number.
        Parameters:
        number - Tag number.
        isConstructed - True for constructed tag, false otherwise.
    • Method Detail

      • getTagNo

        public int getTagNo()
        Description copied from interface: DERTag
        Gets the decimal value of the tag.
        Specified by:
        getTagNo in interface DERTag
        Returns:
        decimal tag number.
      • isConstructed

        public boolean isConstructed()
        Description copied from interface: DERTag
        Determines whether the tag is constructed or primitive.
        Specified by:
        isConstructed in interface DERTag
        Returns:
        true if constructed, false if primitive.
      • getTagByte

        public int getTagByte()
        Description copied from interface: DERTag
        Gets the value of this tag for encoding.
        Specified by:
        getTagByte in interface DERTag
        Returns:
        byte value of this tag
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object