public enum Algorithm extends Enum<Algorithm>
Enum Constant and Description |
---|
DSA_SHA1 |
HMAC_SHA1 |
HMAC_SHA256 |
HMAC_SHA512 |
RSA_SHA1 |
RSA_SHA256 |
RSA_SHA512 |
SSH_DSS |
SSH_RSA |
Modifier and Type | Method and Description |
---|---|
static Algorithm |
forName(String name) |
String |
getName() |
static Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Algorithm RSA_SHA1
public static final Algorithm RSA_SHA256
public static final Algorithm RSA_SHA512
public static final Algorithm DSA_SHA1
public static final Algorithm HMAC_SHA1
public static final Algorithm HMAC_SHA256
public static final Algorithm HMAC_SHA512
public static final Algorithm SSH_RSA
public static final Algorithm SSH_DSS
public static Algorithm[] values()
for (Algorithm c : Algorithm.values()) System.out.println(c);
public static Algorithm 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 String getName()
Copyright © 2013-2017. All Rights Reserved.