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, isConstructed
public 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()
DERTag
getTagByte
in interface DERTag
getTagByte
in class AbstractDERTag
public String name()
DERTag
public String toString()
toString
in class AbstractDERTag
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.