Package org.tomitribe.auth.signatures
Enum Algorithm
- java.lang.Object
-
- java.lang.Enum<Algorithm>
-
- org.tomitribe.auth.signatures.Algorithm
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Algorithmget(java.lang.String name)java.lang.StringgetJvmName()java.lang.StringgetPortableName()java.lang.ClassgetType()static java.lang.StringtoJvmName(java.lang.String name)static java.lang.StringtoPortableName(java.lang.String name)java.lang.StringtoString()static AlgorithmvalueOf(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.
-
-
-
Enum Constant Detail
-
HMAC_SHA1
public static final Algorithm HMAC_SHA1
-
HMAC_SHA224
public static final Algorithm HMAC_SHA224
-
HMAC_SHA256
public static final Algorithm HMAC_SHA256
-
HMAC_SHA384
public static final Algorithm HMAC_SHA384
-
HMAC_SHA512
public static final Algorithm HMAC_SHA512
-
RSA_SHA1
public static final Algorithm RSA_SHA1
-
RSA_SHA256
public static final Algorithm RSA_SHA256
-
RSA_SHA384
public static final Algorithm RSA_SHA384
-
RSA_SHA512
public static final Algorithm RSA_SHA512
-
RSA_SHA3_256
public static final Algorithm RSA_SHA3_256
-
RSA_SHA3_384
public static final Algorithm RSA_SHA3_384
-
RSA_SHA3_512
public static final Algorithm RSA_SHA3_512
-
RSA_PSS
public static final Algorithm RSA_PSS
-
DSA_SHA1
public static final Algorithm DSA_SHA1
-
DSA_SHA224
public static final Algorithm DSA_SHA224
-
DSA_SHA256
public static final Algorithm DSA_SHA256
-
DSA_SHA384
public static final Algorithm DSA_SHA384
-
DSA_SHA512
public static final Algorithm DSA_SHA512
-
DSA_SHA3_256
public static final Algorithm DSA_SHA3_256
-
DSA_SHA3_384
public static final Algorithm DSA_SHA3_384
-
DSA_SHA3_512
public static final Algorithm DSA_SHA3_512
-
ECDSA_SHA1
public static final Algorithm ECDSA_SHA1
-
ECDSA_SHA256
public static final Algorithm ECDSA_SHA256
-
ECDSA_SHA384
public static final Algorithm ECDSA_SHA384
-
ECDSA_SHA512
public static final Algorithm ECDSA_SHA512
-
ECDSA_SHA3_256
public static final Algorithm ECDSA_SHA3_256
-
ECDSA_SHA3_384
public static final Algorithm ECDSA_SHA3_384
-
ECDSA_SHA3_512
public static final Algorithm ECDSA_SHA3_512
-
ECDSA_SHA256_P1363
public static final Algorithm ECDSA_SHA256_P1363
-
ECDSA_SHA384_P1363
public static final Algorithm ECDSA_SHA384_P1363
-
ECDSA_SHA512_P1363
public static final Algorithm ECDSA_SHA512_P1363
-
-
Method Detail
-
values
public static Algorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Algorithm c : Algorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Algorithm valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getPortableName
public java.lang.String getPortableName()
-
getJvmName
public java.lang.String getJvmName()
-
getType
public java.lang.Class getType()
-
toPortableName
public static java.lang.String toPortableName(java.lang.String name)
-
toJvmName
public static java.lang.String toJvmName(java.lang.String name)
-
get
public static Algorithm get(java.lang.String name)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Algorithm>
-
-