public class ApplicationDERTag extends AbstractDERTag
| Modifier and Type | Field and Description |
|---|---|
static int |
TAG_CLASS
Application class is 01b in first two high-order bits.
|
static String |
TAG_NAME
Generic tag name "APP" for a application-specific type.
|
ASN_CONSTRUCTED| Constructor and Description |
|---|
ApplicationDERTag(int number,
boolean isConstructed)
Creates a new application-specific tag with given tag number.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getTagByte()
Gets the value of this tag for encoding.
|
String |
name()
Gets the name of the tag.
|
String |
toString() |
getTagNo, isConstructedpublic static final String TAG_NAME
public static final int TAG_CLASS
public ApplicationDERTag(int number,
boolean isConstructed)
number - Tag number.isConstructed - True for constructed tag, false otherwise.public int getTagByte()
DERTaggetTagByte in interface DERTaggetTagByte in class AbstractDERTagpublic String name()
DERTagpublic String toString()
toString in class AbstractDERTagCopyright © 2003-2019 Virginia Tech. All Rights Reserved.