| 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(java.lang.String name) |
java.lang.String |
getName() |
static Algorithm |
valueOf(java.lang.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(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 java.lang.String getName()
public static Algorithm forName(java.lang.String name)
Copyright © 2013-2017. All Rights Reserved.