RSAAlgorithm
Stay organized with collections
Save and categorize content based on your preferences.
Algorithm names and COSE identifiers for RSA (public) keys.
Inherited Method Summary
From class java.lang.Enum
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface java.lang.constant.Constable
abstract Optional<? extends ConstantDesc>
|
describeConstable()
|
From interface java.lang.Comparable
Enum Values
public static final RSAAlgorithm
LEGACY_RS1
This field is deprecated.
please use RS1
instead.
The legacy value for "RSASSA-PKCS1-v1_5 w/ SHA-1"
public static final RSAAlgorithm
PS256
public static final RSAAlgorithm
PS384
public static final RSAAlgorithm
PS512
public static final RSAAlgorithm
RS1
RSASSA-PKCS1-v1_5 w/ SHA-1
public static final RSAAlgorithm
RS256
RSASSA-PKCS1-v1_5 w/ SHA-256
public static final RSAAlgorithm
RS384
RSASSA-PKCS1-v1_5 w/ SHA-384
public static final RSAAlgorithm
RS512
RSASSA-PKCS1-v1_5 w/ SHA-512
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[],["`RSAAlgorithm` is an enum for RSA public key algorithms, implementing the `Algorithm` interface. It provides algorithm names and COSE identifiers, with links to relevant COSE and WebAuthn registries. Key actions include: retrieving an algorithm's COSE value via `getAlgoValue()`, getting a algorithm from a COSE value using `fromAlgoValue()`, and comparing algorithm with `compareTo`. It has methods to describe the value, get its class, name, hash code, and others. The enum values include `PS256`, `PS384`, `PS512`, `RS1`, `RS256`, `RS384`, and `RS512`, along with the deprecated `LEGACY_RS1`.\n"],null,[]]