public class ContextDERTag extends AbstractDERTag
| Modifier and Type | Field and Description |
|---|---|
static int |
TAG_CLASS
Context-specific class is 10b in first two high-order bits.
|
static String |
TAG_NAME
Generic tag name "CTX" for a context-specific type.
|
ASN_CONSTRUCTED| Constructor and Description |
|---|
ContextDERTag(int number,
boolean isConstructed)
Creates a new context-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.
|
getTagNo, isConstructed, toStringpublic static final String TAG_NAME
public static final int TAG_CLASS
public ContextDERTag(int number,
boolean isConstructed)
number - Tag number.isConstructed - True for constructed tag, false otherwise.public int getTagByte()
DERTaggetTagByte in interface DERTaggetTagByte in class AbstractDERTagCopyright © 2003-2019 Virginia Tech. All Rights Reserved.