public enum AsymmetricKeyPairAlgorithm extends Enum<AsymmetricKeyPairAlgorithm>
Enum Constant and Description |
---|
EC256_SHA256 |
EC384_SHA384 |
ECP512_SHA512 |
RSA2048_SHA256 |
RSA3072_SHA384 |
RSA4096_SHA512 |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
String |
getECDomainParameters() |
String |
getJwtAlgorithm() |
int |
getKeyLength() |
String |
getSigningAlgorithm() |
static AsymmetricKeyPairAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsymmetricKeyPairAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsymmetricKeyPairAlgorithm EC256_SHA256
public static final AsymmetricKeyPairAlgorithm EC384_SHA384
public static final AsymmetricKeyPairAlgorithm ECP512_SHA512
public static final AsymmetricKeyPairAlgorithm RSA2048_SHA256
public static final AsymmetricKeyPairAlgorithm RSA3072_SHA384
public static final AsymmetricKeyPairAlgorithm RSA4096_SHA512
public static AsymmetricKeyPairAlgorithm[] values()
for (AsymmetricKeyPairAlgorithm c : AsymmetricKeyPairAlgorithm.values()) System.out.println(c);
public static AsymmetricKeyPairAlgorithm 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()
public String getJwtAlgorithm()
public String getSigningAlgorithm()
public String getECDomainParameters()
public int getKeyLength()
Copyright © 2022. All rights reserved.