Builder

class Builder(keyType: String, curve: String)

Builder for Jwk type.

Constructors

Link copied to clipboard
constructor(keyType: String, curve: String)

Functions

Link copied to clipboard

Sets algorithm.

Link copied to clipboard
fun build(): Jwk

Builds a Jwk object.

Link copied to clipboard

Sets key ID.

Link copied to clipboard

Sets key use.

Link copied to clipboard

Sets private key component. Must be base64 encoded string.

Link copied to clipboard

Sets x coordinate. Must be base64 encoded string.

Link copied to clipboard

Sets y coordinate. Must be base64 encoded string.