Package | Description |
---|---|
io.jsonwebtoken.security |
Modifier and Type | Interface and Description |
---|---|
interface |
DynamicJwkBuilder<K extends Key,J extends Jwk<K>>
A
JwkBuilder that coerces to a more type-specific builder based on the Key that will be
represented as a JWK. |
interface |
JwkBuilder<K extends Key,J extends Jwk<K>,T extends JwkBuilder<K,J,T>>
A
SecurityBuilder that produces a JWK. |
Modifier and Type | Interface and Description |
---|---|
interface |
AsymmetricJwk<K extends Key>
JWK representation of an asymmetric (public or private) cryptographic key.
|
interface |
EcPrivateJwk
JWK representation of an
ECPrivateKey as defined by the JWA (RFC 7518) specification sections on
Parameters for Elliptic Curve Keys and
Parameters for Elliptic Curve Private Keys. |
interface |
EcPublicJwk
JWK representation of an
ECPublicKey as defined by the JWA (RFC 7518) specification sections on
Parameters for Elliptic Curve Keys and
Parameters for Elliptic Curve Public Keys. |
interface |
OctetPrivateJwk<K extends PrivateKey,L extends PublicKey>
JWK representation of an Edwards Curve
PrivateKey as defined by RFC 8037, Section 2:
Key Type "OKP". |
interface |
OctetPublicJwk<K extends PublicKey>
|
interface |
PrivateJwk<K extends PrivateKey,L extends PublicKey,M extends PublicJwk<L>>
JWK representation of a
PrivateKey . |
interface |
PublicJwk<K extends PublicKey>
JWK representation of a
PublicKey . |
interface |
RsaPrivateJwk
JWK representation of an
RSAPrivateKey as defined by the JWA (RFC 7518) specification sections on
Parameters for RSA Keys and
Parameters for RSA Private Keys. |
interface |
RsaPublicJwk
JWK representation of an
RSAPublicKey as defined by the JWA (RFC 7518) specification sections on
Parameters for RSA Keys and
Parameters for RSA Public Keys. |
interface |
SecretJwk
JWK representation of a
SecretKey as defined by the JWA (RFC 7518) specification section on
Parameters for Symmetric Keys. |
Modifier and Type | Method and Description |
---|---|
Set<Jwk<?>> |
JwkSet.getKeys()
Returns the non-null, non-empty set of JWKs contained within the
JwkSet . |
Modifier and Type | Method and Description |
---|---|
JwkSetBuilder |
JwkSetBuilder.add(Jwk<?> jwk)
Appends the specified
jwk to the set. |
static String |
Jwks.UNSAFE_JSON(Jwk<?> jwk)
WARNING - UNSAFE OPERATION - RETURN VALUES CONTAIN RAW KEY MATERIAL, DO NOT LOG OR PRINT TO SYSTEM.OUT.
Converts the specified JWK into JSON, including raw key material.
|
Modifier and Type | Method and Description |
---|---|
JwkSetBuilder |
JwkSetBuilder.add(Collection<Jwk<?>> c)
Appends the specified
Jwk collection to the JWK Set. |
JwkSetBuilder |
JwkSetBuilder.keys(Collection<Jwk<?>> c)
Sets the
JwkSet keys parameter value; per standard Java setter idioms, this is a
full replacement operation, removing any previous keys from the set. |
Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.