public static class JwtRsaSsaPkcs1PrivateKey.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
JwtRsaSsaPkcs1PrivateKey |
build() |
JwtRsaSsaPkcs1PrivateKey.Builder |
setCrtCoefficient(SecretBigInteger qInv)
Sets the CRT coefficient qInv.
|
JwtRsaSsaPkcs1PrivateKey.Builder |
setPrimeExponents(SecretBigInteger dP,
SecretBigInteger dQ)
Sets the prime exponents dP and dQ.
|
JwtRsaSsaPkcs1PrivateKey.Builder |
setPrimes(SecretBigInteger p,
SecretBigInteger q)
Sets the prime factors p and q.
|
JwtRsaSsaPkcs1PrivateKey.Builder |
setPrivateExponent(SecretBigInteger d)
Sets the private exponent d.
|
JwtRsaSsaPkcs1PrivateKey.Builder |
setPublicKey(JwtRsaSsaPkcs1PublicKey publicKey)
Sets the public key, which includes the parameters.
|
@CanIgnoreReturnValue public JwtRsaSsaPkcs1PrivateKey.Builder setPublicKey(JwtRsaSsaPkcs1PublicKey publicKey)
This is required.
@CanIgnoreReturnValue public JwtRsaSsaPkcs1PrivateKey.Builder setPrimes(SecretBigInteger p, SecretBigInteger q)
See https://datatracker.ietf.org/doc/html/rfc7518#section-6.3.2.2.
This is required.
@CanIgnoreReturnValue public JwtRsaSsaPkcs1PrivateKey.Builder setPrivateExponent(SecretBigInteger d)
See https://datatracker.ietf.org/doc/html/rfc7518#section-6.3.2.1.
This is required.
@CanIgnoreReturnValue public JwtRsaSsaPkcs1PrivateKey.Builder setPrimeExponents(SecretBigInteger dP, SecretBigInteger dQ)
See https://datatracker.ietf.org/doc/html/rfc7518#section-6.3.2.4.
This is required.
@CanIgnoreReturnValue public JwtRsaSsaPkcs1PrivateKey.Builder setCrtCoefficient(SecretBigInteger qInv)
See https://datatracker.ietf.org/doc/html/rfc7518#section-6.3.2.6.
This is required.
public JwtRsaSsaPkcs1PrivateKey build() throws GeneralSecurityException
GeneralSecurityException