Uses of Class
org.forgerock.json.jose.jwk.OkpJWK.Builder
Package
Description
Classes and interfaces for creating and manipulating JWKs.
-
Uses of OkpJWK.Builder in org.forgerock.json.jose.jwk
Modifier and TypeMethodDescriptionstatic OkpJWK.Builder
OkpJWK.builder()
Creates a new builder object for an OKP key.OkpJWK.Builder.curve
(SupportedEllipticCurve curve) Sets the elliptic curve that this key uses.Sets the private key d-value of the key.Sets the public and private values from the given key pair.OkpJWK.Builder.privateKey
(PrivateKey privateKey) Sets the private key d-value from the given private key.Sets the public x-coordinate from the given public key.Sets the public key x-coordinate of the key.OkpJWK.Builder.xecPrivateKey
(PrivateKey xecPrivateKey) Sets the private scalar value from the given XECPrivateKey (Java 11+).OkpJWK.Builder.xecPublicKey
(PublicKey xecPublicKey) Sets the public x-coordinate from the given XECPublicKey (Java 11+).