Module io.inverno.mod.security.jose
Interface RSAJWKBuilder<A extends RSAJWK,B extends RSAJWKBuilder<A,B>>
- Type Parameters:
A
- the RSA JWK typeB
- the RSA JWK builder type
- All Superinterfaces:
JWKBuilder<A,
,B> X509JWKBuilder<RSAPublicKey,
RSAPrivateKey, A, B>
public interface RSAJWKBuilder<A extends RSAJWK,B extends RSAJWKBuilder<A,B>>
extends X509JWKBuilder<RSAPublicKey,RSAPrivateKey,A,B>
RSA JSON Web Key builder.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the first coefficient encoded as Base64URL.Specifies the first factor exponent encoded as Base64URL.Specifies the first prime factor encoded as Base64URL.Specifies the modulus encoded as Base64URL.otherPrimeInfo
(String primeFactor, String exponent, String coefficient) Specifies a prime info to add to the definition of the key.Specifies the private exponent encoded as Base64URL.Specifies the public exponent encoded as Base64URL.Specifies the second factor exponent encoded as Base64URL.Specifies the second prime factor 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
-
modulus
Specifies the modulus encoded as Base64URL.
- Parameters:
n
- the Base64URL encoded modulus with no padding- Returns:
- this builder
-
publicExponent
Specifies the public exponent encoded as Base64URL.
- Parameters:
e
- the Base64URL encoded public exponent with no padding- Returns:
- this builder
-
privateExponent
Specifies the private exponent encoded as Base64URL.
- Parameters:
d
- the Base64URL encoded private exponent with no padding- Returns:
- this builder
-
firstPrimeFactor
Specifies the first prime factor encoded as Base64URL.
- Parameters:
p
- the Base64URL encoded first prime factor with no padding- Returns:
- this builder
-
secondPrimeFactor
Specifies the second prime factor encoded as Base64URL.
- Parameters:
q
- the Base64URL encoded second prime factor with no padding- Returns:
- this builder
-
firstFactorExponent
Specifies the first factor exponent encoded as Base64URL.
- Parameters:
dp
- the Base64URL encoded first factor exponent with no padding- Returns:
- this builder
-
secondFactorExponent
Specifies the second factor exponent encoded as Base64URL.
- Parameters:
dq
- the Base64URL encoded second factor exponent with no padding- Returns:
- this builder
-
firstCoefficient
Specifies the first coefficient encoded as Base64URL.
- Parameters:
qi
- the Base64URL encoded first coefficient with no padding- Returns:
- this builder
-
otherPrimeInfo
Specifies a prime info to add to the definition of the key.
- Parameters:
primeFactor
- the Base64URL encoded other prime info prime factor with no paddingexponent
- the Base64URL encoded other prime info exponent with no paddingcoefficient
- the Base64URL encoded other prime info coefficient with no padding- Returns:
- this builder
-