public enum Asn1Construction extends java.lang.Enum<Asn1Construction>
| Enum Constant and Description |
|---|
CONSTRUCTED
The contents octets contain 0, 1, or more element encodings.
|
PRIMITIVE
The contents octets directly encode the element value.
|
| Modifier and Type | Method and Description |
|---|---|
static Asn1Construction |
fromConstant(int i) |
byte |
getConstant() |
static Asn1Construction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Asn1Construction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Asn1Construction PRIMITIVE
public static final Asn1Construction CONSTRUCTED
public static Asn1Construction[] values()
for (Asn1Construction c : Asn1Construction.values()) System.out.println(c);
public static Asn1Construction 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 byte getConstant()
public static Asn1Construction fromConstant(int i)
i - must be a 0 or 1Copyright © 2014-2021 Tomitribe Corporation. All Rights Reserved.