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