Module io.inverno.mod.security.jose
Interface ECJWKBuilder<A extends ECJWK,B extends ECJWKBuilder<A,B>>
- Type Parameters:
A
- the Elliptic curve JWK typeB
- the Elliptic curve JWK builder type
- All Superinterfaces:
JWKBuilder<A,
,B> X509JWKBuilder<ECPublicKey,
ECPrivateKey, A, B>
public interface ECJWKBuilder<A extends ECJWK,B extends ECJWKBuilder<A,B>>
extends X509JWKBuilder<ECPublicKey,ECPrivateKey,A,B>
An Elliptic curve JSON Web Key builder.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the Elliptic curve JWA name.Specifies the ECC private key encoded as Base64URL.Specifies the X coordinate encoded as Base64URL.Specifies the Y coordinate encoded as Base64URL.Methods inherited from interface io.inverno.mod.security.jose.jwk.JWKBuilder
algorithm, build, keyId, keyOperations, publicKeyUse
Methods 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
-
xCoordinate
Specifies the X coordinate encoded as Base64URL.
- Parameters:
x
- the Base64URL encoded X coordinate with no padding- Returns:
- this builder
-
yCoordinate
Specifies the Y coordinate encoded as Base64URL.
- Parameters:
y
- the Base64URL encoded Y coordinate with no padding- Returns:
- this builder
-
eccPrivateKey
Specifies the ECC private key encoded as Base64URL.
- Parameters:
d
- the Base64URL encoded ECC private key with no padding- Returns:
- this builder
-