SigningAlgorithm

Sealed class representing the JWS signing algorithms defined in RFC 7518.

The supported algorithms are grouped by their cryptographic family:

Use fromId to look up an instance by its JWA identifier string.

See also

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Groups the ECDSA signing algorithms (ES256, ES384, ES512).

Link copied to clipboard

ECDSA with SHA-256 (ES256) signing algorithm using elliptic-curve key pairs.

Link copied to clipboard

ECDSA with SHA-384 (ES384) signing algorithm using elliptic-curve key pairs.

Link copied to clipboard

ECDSA with SHA-512 (ES512) signing algorithm using elliptic-curve key pairs.

Link copied to clipboard

HMAC with SHA-256 (HS256) signing algorithm using a symmetric HMAC Key.

Link copied to clipboard

HMAC with SHA-384 (HS384) signing algorithm using a symmetric HMAC Key.

Link copied to clipboard

HMAC with SHA-512 (HS512) signing algorithm using a symmetric HMAC Key.

Link copied to clipboard

Groups the HMAC-based signing algorithms (HS256, HS384, HS512).

Link copied to clipboard
data object None : SigningAlgorithm

Unsecured JWT — opt-in only. Rejected by parser unless allowUnsecured(true).

Link copied to clipboard

Groups the RSA PKCS#1 v1.5 signing algorithms (RS256, RS384, RS512).

Link copied to clipboard

RSA PSS with SHA-256 (PS256) signing algorithm using RSA key pairs.

Link copied to clipboard

RSA PSS with SHA-384 (PS384) signing algorithm using RSA key pairs.

Link copied to clipboard

RSA PSS with SHA-512 (PS512) signing algorithm using RSA key pairs.

Link copied to clipboard

Groups the RSA PSS signing algorithms (PS256, PS384, PS512).

Link copied to clipboard

RSA PKCS#1 v1.5 with SHA-256 (RS256) signing algorithm using RSA key pairs.

Link copied to clipboard

RSA PKCS#1 v1.5 with SHA-384 (RS384) signing algorithm using RSA key pairs.

Link copied to clipboard

RSA PKCS#1 v1.5 with SHA-512 (RS512) signing algorithm using RSA key pairs.

Properties

Link copied to clipboard
open override val id: String

The JWA algorithm identifier string (e.g. "HS256", "RS256").

Functions

Link copied to clipboard
open override fun toString(): String