public enum SignatureAlgorithm extends Enum<SignatureAlgorithm>
Enum Constant and Description |
---|
ES256
ECDSA using P-256 and SHA-256
|
RS256
RSASSA-PKCS1-v1_5 using SHA-256
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
static SignatureAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureAlgorithm RS256
public static final SignatureAlgorithm ES256
public static SignatureAlgorithm[] values()
for (SignatureAlgorithm c : SignatureAlgorithm.values()) System.out.println(c);
public static SignatureAlgorithm 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 String getAlgorithm()
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.