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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["GoogleApiClient, now deprecated, was the primary way Android apps integrated with Google Play services, managing connections and communication with various Google APIs."],["Key functionalities included connection management, lifecycle handling, listener registration for connection events, and methods to check connection status and retrieve API information."],["Developers should replace GoogleApiClient with GoogleApi-based APIs due to its deprecation."],["Important considerations involve thread safety (GoogleApiClient is not thread-safe), potential ANRs when using `blockingConnect()` on the main thread, and using `hasConnectedApi()` for reliable API connection status checks."]]],["`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"]]