Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jwk
Interface X509JWKBuilder<A extends PublicKey,B extends PrivateKey,C extends X509JWK<A,B>,D extends X509JWKBuilder<A,B,C,D>>
- Type Parameters:
A
- the public key typeB
- the private key typeC
- the X.509 JWK typeD
- the X.509 JWK builder type
- All Superinterfaces:
JWKBuilder<C,
D>
- All Known Subinterfaces:
ECJWKBuilder<A,
,B> EdECJWKBuilder<A,
,B> OKPJWKBuilder<A,
,B, C, D> RSAJWKBuilder<A,
,B> XECJWKBuilder<A,
B>
public interface X509JWKBuilder<A extends PublicKey,B extends PrivateKey,C extends X509JWK<A,B>,D extends X509JWKBuilder<A,B,C,D>>
extends JWKBuilder<C,D>
An X.509 JWK builder is used to build X.509 asymmetric JSON Web Keys that support X.509 JOSE header parameters: x5u, x5c, x5t and x5t#S256.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionx509CertificateChain
(String[] x5c) specifies the X.509 certificates chain.Specifies the X.509 certificate SHA1 thumbprint.x509CertificateSHA256Thumbprint
(String x5t_S256) Specifies the X.509 certificate SHA256 thumbprint.x509CertificateURL
(URI x5u) Specifies the X.509 certificate or certificates chain URL.Methods inherited from interface io.inverno.mod.security.jose.jwk.JWKBuilder
algorithm, build, keyId, keyOperations, publicKeyUse
-
Method Details
-
x509CertificateURL
Specifies the X.509 certificate or certificates chain URL.
- Parameters:
x5u
- the X.509 certificate or certificate chain URL- Returns:
- this builder
-
x509CertificateChain
specifies the X.509 certificates chain.
- Parameters:
x5c
- the X.509 certificates chain- Returns:
- this builder
-
x509CertificateSHA1Thumbprint
Specifies the X.509 certificate SHA1 thumbprint.
- Parameters:
x5t
- the X.509 certificate SHA1 thumbprint- Returns:
- this builder
-
x509CertificateSHA256Thumbprint
Specifies the X.509 certificate SHA256 thumbprint.
- Parameters:
x5t_S256
- the X.509 certificate SHA256 thumbprint- Returns:
- this builder
-