public enum CertType extends Enum<CertType> implements IPersistentEnum
| Enum Constant and Description |
|---|
ANY |
Intermediate |
Master |
NewAccount |
Node |
Server |
UserAttribute |
UserEncryption |
UserSigning |
| Modifier and Type | Method and Description |
|---|---|
static CertType |
newInstance(int id)
Return the enum instance represented by the given integer value.
|
int |
toInt() |
static CertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertType ANY
public static final CertType Master
public static final CertType Intermediate
public static final CertType UserEncryption
public static final CertType NewAccount
public static final CertType UserSigning
public static final CertType UserAttribute
public static final CertType Server
public static final CertType Node
public static CertType[] values()
for (CertType c : CertType.values()) System.out.println(c);
public static CertType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int toInt()
toInt in interface IPersistentEnum@Nonnull public static CertType newInstance(int id) throws InvalidPersistentEnumException
id - An integer value which could have been returned from toInt();InvalidPersistentEnumException - If the given value is invalid.Copyright © 2018 Symphony Software Foundation. All rights reserved.