RSAAlgorithm

  • 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.

public final enum RSAAlgorithm extends Enum<RSAAlgorithm>
implements Algorithm

Algorithm names and COSE identifiers for RSA (public) keys.

Inherited Method Summary

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

RSASSA-PSS w/ SHA-256

public static final RSAAlgorithm PS384

RSASSA-PSS w/ SHA-384

public static final RSAAlgorithm PS512

RSASSA-PSS w/ SHA-512

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