Module io.inverno.mod.security.jose
Interface OKPJWKBuilder<A extends PublicKey,B extends PrivateKey,C extends OKPJWK<A,B>,D extends OKPJWKBuilder<A,B,C,D>>
- Type Parameters:
A- the public key typeB- the private key typeC- the Octet Key Pair JWK typeD- the Octet Key Pair JWK builder type
- All Superinterfaces:
JWKBuilder<C,,D> X509JWKBuilder<A,B, C, D>
- All Known Subinterfaces:
EdECJWKBuilder<A,,B> XECJWKBuilder<A,B>
public interface OKPJWKBuilder<A extends PublicKey,B extends PrivateKey,C extends OKPJWK<A,B>,D extends OKPJWKBuilder<A,B,C,D>>
extends X509JWKBuilder<A,B,C,D>
Octet Key Pair JSON Web Key builder.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Methods inherited from interface io.inverno.mod.security.jose.jwk.JWKBuilder
algorithm, build, keyId, keyOperations, publicKeyUseMethods inherited from interface io.inverno.mod.security.jose.jwk.X509JWKBuilder
x509CertificateChain, x509CertificateSHA1Thumbprint, x509CertificateSHA256Thumbprint, x509CertificateURL
-
Method Details
-
curve
Specifies the Elliptic curve JWA name.
- Parameters:
crv- the JWA Elliptic curve name- Returns:
- this builder
-
publicKey
Specifies the public key encoded as Base64URL.
- Parameters:
x- the Base64URL encoded public key with no padding- Returns:
- this builder
-
privateKey
Specifies the private key encoded as Base64URL.
- Parameters:
d- the Base64URL encoded private key with no padding- Returns:
- this builder
-