Package org.ldaptive.asn1
Class ApplicationDERTag
- java.lang.Object
-
- org.ldaptive.asn1.AbstractDERTag
-
- org.ldaptive.asn1.ApplicationDERTag
-
- All Implemented Interfaces:
DERTag
public class ApplicationDERTag extends AbstractDERTag
Generic application-specific tag.- Author:
- Middleware Services
-
-
Field Summary
Fields Modifier and Type Field Description static intTAG_CLASSApplication class is 01b in first two high-order bits.static java.lang.StringTAG_NAMEGeneric tag name "APP" for a application-specific type.-
Fields inherited from interface org.ldaptive.asn1.DERTag
ASN_CONSTRUCTED
-
-
Constructor Summary
Constructors Constructor Description ApplicationDERTag(int number, boolean isConstructed)Creates a new application-specific tag with given tag number.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTagByte()Gets the value of this tag for encoding.java.lang.Stringname()Gets the name of the tag.java.lang.StringtoString()-
Methods inherited from class org.ldaptive.asn1.AbstractDERTag
getTagNo, isConstructed
-
-
-
-
Field Detail
-
TAG_NAME
public static final java.lang.String TAG_NAME
Generic tag name "APP" for a application-specific type.- See Also:
- Constant Field Values
-
TAG_CLASS
public static final int TAG_CLASS
Application class is 01b in first two high-order bits.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTagByte
public int getTagByte()
Description copied from interface:DERTagGets the value of this tag for encoding.- Specified by:
getTagBytein interfaceDERTag- Overrides:
getTagBytein classAbstractDERTag- Returns:
- byte value of this tag
-
name
public java.lang.String name()
Description copied from interface:DERTagGets the name of the tag.- Returns:
- tag name.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractDERTag
-
-