Package | Description |
---|---|
org.forgerock.json.jose.builders |
Classes and interfaces for builder to build JWTs using a fluent API.
|
org.forgerock.json.jose.jwe |
Classes and interfaces for JWT encryption and JWEs.
|
org.forgerock.json.jose.jwk |
Classes and interfaces for creating and manipulating JWKs.
|
org.forgerock.json.jose.jwk.store |
This package contains classes to manage a JWKs URI.
|
org.forgerock.json.jose.jws |
Classes and interfaces for JWT signing and JWS'.
|
Modifier and Type | Method and Description |
---|---|
JweHeaderBuilder<B> |
JweHeaderBuilder.epk(JWK epk)
Sets the Ephemeral Public Key header parameter for this JWE.
|
B |
JwtSecureHeaderBuilder.jwk(JWK jwk)
Sets the JSON Web Key header parameter for this JWS.
|
Modifier and Type | Method and Description |
---|---|
JWK |
JweHeader.getEphemeralPublicKey()
Gets the Ephemeral Public Key header parameter for this JWE.
|
Modifier and Type | Method and Description |
---|---|
void |
JweHeader.setEphemeralPublicKey(JWK ephemeralPublicKey)
Sets the Ephemeral Public Key header parameter for this JWE.
|
Modifier and Type | Class and Description |
---|---|
class |
EcJWK
This class implements an Elliptical Curve Json Web Key storage and manipulation class.
|
class |
OctJWK
Creates an Octet JWK.
|
class |
OkpJWK
An Octet Key-Pair (OKP) JWK as defined in RFC 8037.
|
class |
RsaJWK
Implements a RsaJWK.
|
Modifier and Type | Method and Description |
---|---|
abstract JWK |
JWK.Builder.build()
Builds the JWK.
|
JWK |
JWKSet.findJwk(Algorithm algorithm,
KeyUse keyUse)
Search for a JWK that matches the algorithm and the key usage.
|
JWK |
JWKSet.findJwk(String kid)
Search for a JWK that matches the kid.
|
static JWK |
JWK.parse(JsonValue jwk)
Parses a JsonValue into the proper JWK type.
|
static JWK |
JWK.parse(String json)
Parses a String into the proper JWK type.
|
Modifier and Type | Method and Description |
---|---|
List<JWK> |
JWKSet.getJWKsAsList()
Get the JWKs in the set.
|
Optional<JWK> |
JWK.toPublicJwk()
For asymmetric keys, get the public JWK representation of this JWK.
|
Constructor and Description |
---|
JWKSet(JWK jwk)
Construct a JWKSet from a single JWK.
|
Constructor and Description |
---|
JWKSet(List<JWK> jwkList)
Construct a JWKSet from a List of JWKs.
|
Modifier and Type | Method and Description |
---|---|
JWK |
JwksStore.findJwk(Algorithm algorithm,
KeyUse keyUse)
Search for a JWK that matches the algorithm and the key usage.
|
JWK |
JwksStore.findJwk(String kid)
Search for a JWK that matches the kid.
|
Modifier and Type | Method and Description |
---|---|
JWK |
JwtSecureHeader.getJsonWebKey()
Gets the JSON Web Key header parameter for this JWS.
|
Modifier and Type | Method and Description |
---|---|
SigningHandler |
SigningManager.newSigningHandler(JWK jwk)
Returns the signing handler from the given JSON Web Key (JWK) which will be used to sign the JWT.
|
SigningHandler |
SigningManager.newVerificationHandler(JWK jwk)
Returns the signing handler from the given JSON Web Key (JWK) which will be used to verify the JWT.
|
void |
JwtSecureHeader.setJsonWebKey(JWK jsonWebKey)
Sets the JSON Web Key header parameter for this JWS.
|
Copyright 2010-2022 ForgeRock AS.