| Enum Constant and Description |
|---|
DSA_SHA1 |
DSA_SHA224 |
DSA_SHA256 |
HMAC_SHA1 |
HMAC_SHA224 |
HMAC_SHA256 |
HMAC_SHA384 |
HMAC_SHA512 |
RSA_SHA1 |
RSA_SHA256 |
RSA_SHA384 |
RSA_SHA512 |
| Modifier and Type | Method and Description |
|---|---|
static Algorithm |
get(java.lang.String name) |
java.lang.String |
getJmvName() |
java.lang.String |
getPortableName() |
java.lang.Class |
getType() |
static java.lang.String |
toJvmName(java.lang.String name) |
static java.lang.String |
toPortableName(java.lang.String name) |
java.lang.String |
toString() |
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 HMAC_SHA1
public static final Algorithm HMAC_SHA224
public static final Algorithm HMAC_SHA256
public static final Algorithm HMAC_SHA384
public static final Algorithm HMAC_SHA512
public static final Algorithm RSA_SHA1
public static final Algorithm RSA_SHA256
public static final Algorithm RSA_SHA384
public static final Algorithm RSA_SHA512
public static final Algorithm DSA_SHA1
public static final Algorithm DSA_SHA224
public static final Algorithm DSA_SHA256
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 getPortableName()
public java.lang.String getJmvName()
public java.lang.Class getType()
public static java.lang.String toPortableName(java.lang.String name)
public static java.lang.String toJvmName(java.lang.String name)
public static Algorithm get(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Enum<Algorithm>Copyright © 2014-2015 Tomitribe Corporation. All Rights Reserved.