Package | Description |
---|---|
com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
Modifier and Type | Method and Description |
---|---|
RSAKey.Builder |
RSAKey.Builder.algorithm(Algorithm alg)
Sets the intended JOSE algorithm (
alg ) for 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.keyID(java.lang.String kid)
Sets the ID (
kid ) of the JWK. |
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.keyUse(KeyUse use)
Sets the use (
use ) 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.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.x509CertThumbprint(Base64URL x5t)
Sets the X.509 certificate thumbprint (
x5t ) of the
JWK. |
RSAKey.Builder |
RSAKey.Builder.x509CertURL(java.net.URL x5u)
Sets the X.509 certificate URL (
x5u ) of the JWK. |
Copyright © 2014 Connect2id Ltd.. All Rights Reserved.