Package | Description |
---|---|
org.picketlink.json.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
Modifier and Type | Class and Description |
---|---|
class |
JWKBuilder<T extends JWK,B extends JWKBuilder<?,?>>
The base class for building JSON Web Keys (JWKs) with desired key parameters.
|
Modifier and Type | Method and Description |
---|---|
JWKBuilder<T,B> |
JWKBuilder.crtCoefficient(BigInteger crtCoefficient)
Sets the The first Chinese Remainder Theorem coefficient of the private RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.keyAlgorithm(String algorithm)
The alg (algorithm) member identifies the algorithm intended for use with the key.
|
JWKBuilder<T,B> |
JWKBuilder.keyIdentifier(String identifier)
The kid (key ID) member can be used to match a specific key.
|
JWKBuilder<T,B> |
JWKBuilder.keyOperations(String... keyOperations)
The key_ops (key operations) member identifies the operation(s) that the key is intended to be used for.
|
JWKBuilder<T,B> |
JWKBuilder.keyParameter(String name,
String... value)
Sets the Key parameter.
|
JWKBuilder<T,B> |
JWKBuilder.keyType(String type)
The kty (key type) member identifies the cryptographic algorithm family used with the key.
|
JWKBuilder<T,B> |
JWKBuilder.keyUse(String use)
The use (public key use) member identifies the intended use of the public key.
|
JWKBuilder<T,B> |
JWKBuilder.modulus(BigInteger modulus)
Sets the modulus value for the RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.primeExponentP(BigInteger primeExponentP)
Sets the first factor Chinese Remainder Theorem exponent of the private RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.primeExponentQ(BigInteger primeExponentQ)
Sets the second factor Chinese Remainder Theorem exponent of the private RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.primeP(BigInteger primeP)
Sets the first prime factor of the private RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.primeQ(BigInteger primeQ)
Sets second prime factor of the private RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.privateExponent(BigInteger privateExponent)
Sets the private exponent of the RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.publicExponent(BigInteger publicExponent)
Sets the public exponent of the RSA key.
|
JWKBuilder<T,B> |
JWKBuilder.X509CertificateChain(String... X509CertificateChain)
The x5c (X.509 Certificate Chain) member contains a chain of one or more PKIX certificates [RFC5280].
|
JWKBuilder<T,B> |
JWKBuilder.X509CertificateSHA1Thumbprint(String sha1Thumbprint)
The x5t (X.509 Certificate SHA-1 Thumbprint) member is a base64url encoded SHA-1 thumbprint (a.k.a.
|
JWKBuilder<T,B> |
JWKBuilder.X509CertificateSHA256Thumbprint(String sha256Thumbprint)
The x5t#S256 (X.509 Certificate SHA-256 Thumbprint) member is a base64url encoded SHA-256 thumbprint (a.k.a.
|
JWKBuilder<T,B> |
JWKBuilder.X509Url(String url)
The x5u (X.509 URL) member is a URI [RFC3986] that refers to a resource for an X.509 public key certificate or
certificate chain [RFC5280].
|
Copyright © 2019. All rights reserved.