public static final class RsaJWK.Builder extends JWK.Builder<RsaJWK.Builder>
algorithm, keyId, keyOperations, keyType, use, x509Chain, x509Thumbnail, x509url
Modifier and Type | Method and Description |
---|---|
RsaJWK |
build()
Build the RSA JWK.
|
RsaJWK.Builder |
crtCoefficient(String crtCoefficient)
Set the RSA First CRT Coefficient value.
|
RsaJWK.Builder |
otherPrimesInfo(List<RsaJWK.PrimesInfo> otherPrimesInfo)
Set the RSA other factors value.
|
RsaJWK.Builder |
primeP(String primeP)
Set the RSA First Prime Factor value.
|
RsaJWK.Builder |
primePExponent(String primePExponent)
Set the RSA First Factor CRT Exponent value.
|
RsaJWK.Builder |
primeQ(String primeQ)
Set the RSA Second Prime Factor value.
|
RsaJWK.Builder |
primeQExponent(String primeQExponent)
Set the RSA Second factor CRT Exponent value.
|
RsaJWK.Builder |
privateExponent(String privateExponent)
Set the RSA Private Exponent value.
|
RsaJWK.Builder |
rsaPrivateCrtKey(RSAPrivateCrtKey privCert)
Sets the RSA private certificate key.
|
RsaJWK.Builder |
rsaPrivateKey(RSAPrivateKey privateKey)
Sets the RSA private key.
|
algorithm, algorithm, keyId, keyOperations, keyUse, x509Chain, x509Thumbnail, x509Url
public RsaJWK.Builder rsaPrivateCrtKey(RSAPrivateCrtKey privCert)
privCert
- the RSA private certificatepublic RsaJWK.Builder rsaPrivateKey(RSAPrivateKey privateKey)
privateKey
- the rsa private keypublic RsaJWK.Builder privateExponent(String privateExponent)
privateExponent
- the private exponent JWKpublic RsaJWK.Builder primeP(String primeP)
primeP
- the first prime factor of the JWKpublic RsaJWK.Builder primeQ(String primeQ)
primeQ
- the second prime factor of the JWKpublic RsaJWK.Builder primePExponent(String primePExponent)
primePExponent
- the first factor exponent of the JWKpublic RsaJWK.Builder primeQExponent(String primeQExponent)
primeQExponent
- the second factor exponent of the JWKpublic RsaJWK.Builder crtCoefficient(String crtCoefficient)
crtCoefficient
- the first CRT Coefficient of the JWKpublic RsaJWK.Builder otherPrimesInfo(List<RsaJWK.PrimesInfo> otherPrimesInfo)
otherPrimesInfo
- the extra factors of the JWKpublic RsaJWK build()
build
in class JWK.Builder<RsaJWK.Builder>
Copyright © 2010-2018, ForgeRock All Rights Reserved.