Package org.ldaptive.asn1
Class ApplicationDERTag
java.lang.Object
org.ldaptive.asn1.AbstractDERTag
org.ldaptive.asn1.ApplicationDERTag
- All Implemented Interfaces:
DERTag
Generic application-specific tag.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intApplication class is 01b in first two high-order bits.static final StringGeneric tag name "APP" for an application-specific type.Fields inherited from interface org.ldaptive.asn1.DERTag
ASN_CONSTRUCTED -
Constructor Summary
ConstructorsConstructorDescriptionApplicationDERTag(int number, boolean isConstructed) Creates a new application-specific tag with given tag number. -
Method Summary
Methods inherited from class org.ldaptive.asn1.AbstractDERTag
getTagNo, isConstructed
-
Field Details
-
TAG_NAME
Generic tag name "APP" for an application-specific type.- See Also:
-
TAG_CLASS
public static final int TAG_CLASSApplication class is 01b in first two high-order bits.- See Also:
-
-
Constructor Details
-
ApplicationDERTag
public ApplicationDERTag(int number, boolean isConstructed) Creates a new application-specific tag with given tag number.- Parameters:
number- Tag number.isConstructed- True for constructed tag, false otherwise.
-
-
Method Details
-
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
Description copied from interface:DERTagGets the name of the tag.- Returns:
- tag name.
-
toString
- Overrides:
toStringin classAbstractDERTag
-