public abstract class AbstractDERTag extends Object implements DERTag
| Modifier and Type | Field and Description | 
|---|---|
private boolean | 
constructed
Flag indicating whether value is primitive or constructed. 
 | 
private int | 
tagNo
Tag number. 
 | 
ASN_CONSTRUCTED| Constructor and Description | 
|---|
AbstractDERTag(int number,
              boolean isConstructed)
Creates a new tag with given tag number. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getTagByte()
Gets the value of this tag for encoding. 
 | 
int | 
getTagNo()
Gets the decimal value of the tag. 
 | 
boolean | 
isConstructed()
Determines whether the tag is constructed or primitive. 
 | 
String | 
toString()  | 
private final int tagNo
private final boolean constructed
public AbstractDERTag(int number,
                      boolean isConstructed)
number - Tag number.isConstructed - True for constructed tag, false otherwise.public int getTagNo()
DERTagpublic boolean isConstructed()
DERTagisConstructed in interface DERTagpublic int getTagByte()
DERTaggetTagByte in interface DERTagCopyright © 2003-2019 Virginia Tech. All Rights Reserved.