public enum KeyPairGeneratorAlgorithm extends Enum<KeyPairGeneratorAlgorithm> implements Algorithm
KeyPairGeneratorAlgorithm. For more info see: https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator| Enum Constant and Description |
|---|
DIFFIE_HELLMAN
The enum constant for DIFFIE_HELLMAN algorithm.
|
DSA
The enum constant for DSA algorithm.
|
EC
The enum constant for EC algorithm.
|
RSA
The enum constant for RSA algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyPairGeneratorAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyPairGeneratorAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetAlgorithmpublic static final KeyPairGeneratorAlgorithm DIFFIE_HELLMAN
public static final KeyPairGeneratorAlgorithm EC
public static final KeyPairGeneratorAlgorithm DSA
public static final KeyPairGeneratorAlgorithm RSA
public static KeyPairGeneratorAlgorithm[] values()
for (KeyPairGeneratorAlgorithm c : KeyPairGeneratorAlgorithm.values()) System.out.println(c);
public static KeyPairGeneratorAlgorithm 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 nullCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.