JwsAlgorithm

Since we support only JWS algorithms (with one exception), this class is called what it's called.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The one exception, which is not a valid JWS algorithm identifier

Properties

Link copied to clipboard
open override val algorithm: SignatureAlgorithm
Link copied to clipboard
Link copied to clipboard

The curve to create signatures on. This is fixed by RFC7518, as opposed to X.509 where other combinations are possible.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override val identifier: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Tries to find a matching JWS algorithm. Note that JWS imposes curve restrictions on ECDSA based on the digest.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.