Uses of Class
com.nimbusds.jose.jwk.JWK
-
Packages that use JWK Package Description com.nimbusds.jose Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.com.nimbusds.jose.crypto Implementations of standard Javascript Object Signing and Encryption (JOSE) algorithms.com.nimbusds.jose.crypto.factories JWS signer, JWS verifier, JWE encrypter and JWE decrypter factory implementations.com.nimbusds.jose.jwk JSON Web Key (JWK) classes.com.nimbusds.jose.jwk.gen JSON Web Key (JWK) generation utilities.com.nimbusds.jose.jwk.source JSON Web Key (JWK) sourcing interface and utilities.com.nimbusds.jose.proc Framework for application-specific verification and decryption of JOSE objects (with arbitrary payloads).com.nimbusds.jose.produce Framework for producing JOSE objects (with arbitrary payloads). -
-
Uses of JWK in com.nimbusds.jose
Methods in com.nimbusds.jose that return JWK Modifier and Type Method Description JWK
JWEHeader. getEphemeralPublicKey()
Gets the Ephemeral Public Key (epk
) parameter.Methods in com.nimbusds.jose with parameters of type JWK Modifier and Type Method Description JWEHeader.Builder
JWEHeader.Builder. ephemeralPublicKey(JWK epk)
Sets the Ephemeral Public Key (epk
) parameter.JWEHeader.Builder
JWEHeader.Builder. jwk(JWK jwk)
Sets the public JSON Web Key (JWK) (jwk
) parameter.JWSHeader.Builder
JWSHeader.Builder. jwk(JWK jwk)
Sets the public JSON Web Key (JWK) (jwk
) parameter.Constructors in com.nimbusds.jose with parameters of type JWK Constructor Description JWEHeader(Algorithm alg, EncryptionMethod enc, JOSEObjectType typ, String cty, Set<String> crit, URI jku, JWK jwk, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, String kid, JWK epk, CompressionAlgorithm zip, Base64URL apu, Base64URL apv, Base64URL p2s, int p2c, Base64URL iv, Base64URL tag, String skid, Map<String,Object> customParams, Base64URL parsedBase64URL)
Creates a new JSON Web Encryption (JWE) header.JWSHeader(JWSAlgorithm alg, JOSEObjectType typ, String cty, Set<String> crit, URI jku, JWK jwk, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, String kid, boolean b64, Map<String,Object> customParams, Base64URL parsedBase64URL)
Creates a new JSON Web Signature (JWS) header.JWSHeader(JWSAlgorithm alg, JOSEObjectType typ, String cty, Set<String> crit, URI jku, JWK jwk, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, String kid, Map<String,Object> customParams, Base64URL parsedBase64URL)
Deprecated. -
Uses of JWK in com.nimbusds.jose.crypto
Constructors in com.nimbusds.jose.crypto with parameters of type JWK Constructor Description MultiDecrypter(JWK jwk)
Creates a new multi-recipient decrypter.MultiDecrypter(JWK jwk, Set<String> defCritHeaders)
Creates a new multi-recipient decrypter. -
Uses of JWK in com.nimbusds.jose.crypto.factories
Methods in com.nimbusds.jose.crypto.factories with parameters of type JWK Modifier and Type Method Description JWSSigner
DefaultJWSSignerFactory. createJWSSigner(JWK key)
JWSSigner
DefaultJWSSignerFactory. createJWSSigner(JWK key, JWSAlgorithm alg)
-
Uses of JWK in com.nimbusds.jose.jwk
Subclasses of JWK in com.nimbusds.jose.jwk Modifier and Type Class Description class
ECKey
Public and privateElliptic Curve
JSON Web Key (JWK).class
OctetKeyPair
Octet key pair
JSON Web Key (JWK), used to represent Edwards-curve keys.class
OctetSequenceKey
Octet sequence
JSON Web Key (JWK), used to represent symmetric keys.class
RSAKey
Public and privateRSA
JSON Web Key (JWK).Methods in com.nimbusds.jose.jwk that return JWK Modifier and Type Method Description JWK
JWKSet. getKeyByKeyId(String kid)
Returns the key from this JWK set as identified by its Key ID (kid) member.static JWK
JWK. load(KeyStore keyStore, String alias, char[] pin)
Loads a JWK from the specified JCE key store.static JWK
JWK. parse(String s)
Parses a JWK from the specified JSON object string representation.static JWK
JWK. parse(X509Certificate cert)
static JWK
JWK. parse(Map<String,Object> jsonObject)
Parses a JWK from the specified JSON object representation.static JWK
JWK. parseFromPEMEncodedObjects(String pemEncodedObjects)
Parses an RSA or EC JWK from the specified string of one or more PEM-encoded object(s): X.509 certificate (PEM header: BEGIN CERTIFICATE) PKCS#1 RSAPublicKey (PEM header: BEGIN RSA PUBLIC KEY) X.509 SubjectPublicKeyInfo (PEM header: BEGIN PUBLIC KEY) PKCS#1 RSAPrivateKey (PEM header: BEGIN RSA PRIVATE KEY) PKCS#8 PrivateKeyInfo (PEM header: BEGIN PRIVATE KEY) matching pair of the abovestatic JWK
JWK. parseFromPEMEncodedX509Cert(String pemEncodedCert)
abstract JWK
JWK. toPublicJWK()
Creates a copy of this JWK with all private or sensitive parameters removed.Methods in com.nimbusds.jose.jwk that return types with arguments of type JWK Modifier and Type Method Description List<JWK>
JWKSet. getKeys()
Returns the keys (ordered) of this JWK set.List<JWK>
JWKSelector. select(JWKSet jwkSet)
Selects the keys from the specified JWK set according to the matcher's criteria.Methods in com.nimbusds.jose.jwk with parameters of type JWK Modifier and Type Method Description static ThumbprintURI
ThumbprintURI. compute(JWK jwk)
Computes the SHA-256 JWK thumbprint URI for the specified JWK.static Base64URL
ThumbprintUtils. compute(JWK jwk)
Computes the SHA-256 thumbprint for the specified JWK.static Base64URL
ThumbprintUtils. compute(String hashAlg, JWK jwk)
Computes the thumbprint for the specified JWK.boolean
JWKSet. containsJWK(JWK jwk)
Returnstrue
if this JWK set contains the specified JWK as public or private key, by comparing its thumbprint with those of the keys in the set.boolean
JWKMatcher. matches(JWK key)
Returnstrue
if the specified JWK matches.Method parameters in com.nimbusds.jose.jwk with type arguments of type JWK Modifier and Type Method Description static JWKException
JWKException. expectedClass(Class<? extends JWK> expectedJWKClass)
Creates a new JWK type exception.static List<Key>
KeyConverter. toJavaKeys(List<JWK> jwkList)
Converts the specified list of JSON Web Keys (JWK) their standard Java class representation.Constructors in com.nimbusds.jose.jwk with parameters of type JWK Constructor Description JWKSet(JWK key)
Creates a new JWK set with a single key.Constructor parameters in com.nimbusds.jose.jwk with type arguments of type JWK Constructor Description JWKSet(List<JWK> keys)
Creates a new JWK set with the specified keys.JWKSet(List<JWK> keys, Map<String,Object> customMembers)
Creates a new JWK set with the specified keys and additional custom members. -
Uses of JWK in com.nimbusds.jose.jwk.gen
Classes in com.nimbusds.jose.jwk.gen with type parameters of type JWK Modifier and Type Class Description class
JWKGenerator<T extends JWK>
Abstract JWK generator. -
Uses of JWK in com.nimbusds.jose.jwk.source
Methods in com.nimbusds.jose.jwk.source that return types with arguments of type JWK Modifier and Type Method Description List<JWK>
ImmutableJWKSet. get(JWKSelector jwkSelector, C context)
Retrieves a list of JWKs matching the specified selector.List<JWK>
JWKSecurityContextJWKSet. get(JWKSelector jwkSelector, JWKSecurityContext context)
Retrieves a list of JWKs matching the specified selector.List<JWK>
JWKSetBasedJWKSource. get(JWKSelector jwkSelector, C context)
List<JWK>
JWKSource. get(JWKSelector jwkSelector, C context)
Retrieves a list of JWKs matching the specified selector.List<JWK>
JWKSourceWithFailover. get(JWKSelector jwkSelector, C context)
List<JWK>
RemoteJWKSet. get(JWKSelector jwkSelector, C context)
Deprecated. -
Uses of JWK in com.nimbusds.jose.proc
Methods in com.nimbusds.jose.proc that return types with arguments of type JWK Modifier and Type Method Description List<JWK>
JWKSecurityContext. getKeys()
Gets the list ofJWK
s.Constructor parameters in com.nimbusds.jose.proc with type arguments of type JWK Constructor Description JWKSecurityContext(List<JWK> keys)
Constructs aJWKSecurityContext
with the provided parameters. -
Uses of JWK in com.nimbusds.jose.produce
Methods in com.nimbusds.jose.produce with parameters of type JWK Modifier and Type Method Description JWSSigner
JWSSignerFactory. createJWSSigner(JWK key)
Create a JWS signer based on the key.JWSSigner
JWSSignerFactory. createJWSSigner(JWK key, JWSAlgorithm alg)
Create a JWS signer based on the key and algorithm.
-