RSAKey.Builder |
RSAKey.Builder.algorithm(Algorithm alg) |
Sets the intended JOSE algorithm (alg) for the JWK.
|
RSAKey.Builder |
RSAKey.Builder.expirationTime(java.util.Date exp) |
Sets the expiration time (exp) of the JWK.
|
RSAKey.Builder |
RSAKey.Builder.firstCRTCoefficient(Base64URL qi) |
Sets the first Chinese Remainder Theorem (CRT) coefficient
(qi) of the private RSA key.
|
RSAKey.Builder |
RSAKey.Builder.firstFactorCRTExponent(Base64URL dp) |
Sets the first factor Chinese Remainder Theorem (CRT)
exponent (dp) of the private RSA key.
|
RSAKey.Builder |
RSAKey.Builder.firstPrimeFactor(Base64URL p) |
Sets the first prime factor (p) of the private RSA
key.
|
RSAKey.Builder |
RSAKey.Builder.issueTime(java.util.Date iat) |
Sets the issued-at time (iat) of the JWK.
|
RSAKey.Builder |
RSAKey.Builder.keyID(java.lang.String kid) |
Sets the ID (kid) of the JWK.
|
RSAKey.Builder |
RSAKey.Builder.keyIDFromThumbprint() |
Sets the ID (kid) of the JWK to its SHA-256 JWK
thumbprint (RFC 7638).
|
RSAKey.Builder |
RSAKey.Builder.keyIDFromThumbprint(java.lang.String hashAlg) |
Sets the ID (kid) of the JWK to its JWK thumbprint
(RFC 7638).
|
RSAKey.Builder |
RSAKey.Builder.keyOperations(java.util.Set<KeyOperation> ops) |
Sets the operations (key_ops) of the JWK (for a
non-public key).
|
RSAKey.Builder |
RSAKey.Builder.keyStore(java.security.KeyStore keyStore) |
Sets the underlying key store.
|
RSAKey.Builder |
RSAKey.Builder.keyUse(KeyUse use) |
Sets the use (use) of the JWK.
|
RSAKey.Builder |
RSAKey.Builder.notBeforeTime(java.util.Date nbf) |
Sets the not-before time (nbf) of the JWK.
|
RSAKey.Builder |
RSAKey.Builder.otherPrimes(java.util.List<RSAKey.OtherPrimesInfo> oth) |
Sets the other primes information (oth) for the
private RSA key, should they exist.
|
RSAKey.Builder |
RSAKey.Builder.privateExponent(Base64URL d) |
Sets the private exponent (d) of the RSA key.
|
RSAKey.Builder |
RSAKey.Builder.privateKey(java.security.interfaces.RSAMultiPrimePrivateCrtKey priv) |
Sets the private RSA key, using the second representation,
with optional other primes info (see RFC 3447, section 3.2).
|
RSAKey.Builder |
RSAKey.Builder.privateKey(java.security.interfaces.RSAPrivateCrtKey priv) |
Sets the private RSA key, using the second representation
(see RFC 3447, section 3.2).
|
RSAKey.Builder |
RSAKey.Builder.privateKey(java.security.interfaces.RSAPrivateKey priv) |
Sets the private RSA key, using the first representation.
|
RSAKey.Builder |
RSAKey.Builder.privateKey(java.security.PrivateKey priv) |
Sets the private RSA key, typically for a key located in a
PKCS#11 store that doesn't expose the private key parameters
(such as a smart card or HSM).
|
RSAKey.Builder |
RSAKey.Builder.secondFactorCRTExponent(Base64URL dq) |
Sets the second factor Chinese Remainder Theorem (CRT)
exponent (dq) of the private RSA key.
|
RSAKey.Builder |
RSAKey.Builder.secondPrimeFactor(Base64URL q) |
Sets the second prime factor (q) of the private RSA
key.
|
RSAKey.Builder |
RSAKey.Builder.x509CertChain(java.util.List<Base64> x5c) |
Sets the X.509 certificate chain (x5c) of the JWK.
|
RSAKey.Builder |
RSAKey.Builder.x509CertSHA256Thumbprint(Base64URL x5t256) |
Sets the X.509 certificate SHA-256 thumbprint
(x5t#S256) of the JWK.
|
RSAKey.Builder |
RSAKey.Builder.x509CertThumbprint(Base64URL x5t) |
Deprecated.
|
RSAKey.Builder |
RSAKey.Builder.x509CertURL(java.net.URI x5u) |
Sets the X.509 certificate URL (x5u) of the JWK.
|