public enum ASN1Encoding extends java.lang.Enum<ASN1Encoding>
| Enum Constant and Description |
|---|
CONSTRUCTED |
PRIMITIVE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static ASN1Encoding |
parseEncoding(byte tagByte) |
static ASN1Encoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ASN1Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ASN1Encoding PRIMITIVE
public static final ASN1Encoding CONSTRUCTED
public static ASN1Encoding[] values()
for (ASN1Encoding c : ASN1Encoding.values()) System.out.println(c);
public static ASN1Encoding valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static ASN1Encoding parseEncoding(byte tagByte)