RSAAlgorithm
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
RSAAlgorithm is an enum that defines algorithm names and COSE identifiers for RSA public keys.
It extends Enum and implements the Algorithm interface.
The class includes several deprecated and current RSA algorithm values like LEGACY_RS1, PS256, PS384, PS512, RS1, RS256, RS384, and RS512, each representing a specific RSASSA scheme and SHA hash function.
[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"]]