static OkpJWK.Builder |
OkpJWK.builder() |
Creates a new builder object for an OKP key.
|
OkpJWK.Builder |
OkpJWK.Builder.curve(SupportedEllipticCurve curve) |
Sets the elliptic curve that this key uses.
|
OkpJWK.Builder |
OkpJWK.Builder.d(String d) |
Sets the private key d-value of the key.
|
OkpJWK.Builder |
OkpJWK.Builder.keyPair(KeyPair keyPair) |
Sets the public and private values from the given key pair.
|
OkpJWK.Builder |
OkpJWK.Builder.privateKey(PrivateKey privateKey) |
Sets the private key d-value from the given private key.
|
OkpJWK.Builder |
OkpJWK.Builder.publicKey(PublicKey publicKey) |
Sets the public x-coordinate from the given public key.
|
OkpJWK.Builder |
OkpJWK.Builder.x(String x) |
Sets the public key x-coordinate of the key.
|
OkpJWK.Builder |
OkpJWK.Builder.xecPrivateKey(PrivateKey xecPrivateKey) |
Sets the private scalar value from the given XECPrivateKey (Java 11+).
|
OkpJWK.Builder |
OkpJWK.Builder.xecPublicKey(PublicKey xecPublicKey) |
Sets the public x-coordinate from the given XECPublicKey (Java 11+).
|