public enum SigningAlgorithm extends Enum<SigningAlgorithm>
| Enum Constant and Description | 
|---|
| HmacSHA1 | 
| HmacSHA256 | 
| Modifier and Type | Method and Description | 
|---|---|
| Mac | getMac()Returns the thread local reference for the crypto algorithm | 
| static SigningAlgorithm | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SigningAlgorithm[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SigningAlgorithm HmacSHA1
public static final SigningAlgorithm HmacSHA256
public static SigningAlgorithm[] values()
for (SigningAlgorithm c : SigningAlgorithm.values()) System.out.println(c);
public static SigningAlgorithm 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 Mac getMac()
Copyright © 2020. All rights reserved.