public enum SigningAlgorithm extends Enum<SigningAlgorithm>
枚举常量和说明 |
---|
HmacSHA1 |
HmacSHA256 |
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
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2016. All rights reserved.