IPersistentEnumpublic enum AsymmetricCipher extends java.lang.Enum<AsymmetricCipher> implements IPersistentEnum
| Modifier and Type | Method | Description |
|---|---|---|
static AsymmetricCipher |
newInstance(int id) |
Return the enum instance represented by the given integer value.
|
int |
toInt() |
|
static AsymmetricCipher |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AsymmetricCipher[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsymmetricCipher RSA2048
public static final AsymmetricCipher RSA1024
public static final AsymmetricCipher ECC521
public static AsymmetricCipher[] values()
for (AsymmetricCipher c : AsymmetricCipher.values()) System.out.println(c);
public static AsymmetricCipher 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 toInt()
toInt in interface IPersistentEnum@Nonnull public static AsymmetricCipher 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.