Uses of Class
com.nimbusds.jose.jwk.JWK
Packages that use JWK
Package
Description
Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.
Implementations of standard Javascript Object Signing and Encryption (JOSE)
algorithms.
JWS signer, JWS verifier, JWE encrypter and JWE decrypter factory
implementations.
JSON Web Key (JWK) classes.
JSON Web Key (JWK) generation utilities.
JSON Web Key (JWK) sourcing interface and utilities.
Framework for application-specific verification and decryption of JOSE
objects (with arbitrary payloads).
Framework for producing JOSE objects (with arbitrary payloads).
-
Uses of JWK in com.nimbusds.jose
Methods in com.nimbusds.jose that return JWKModifier and TypeMethodDescriptionJWEHeader.getEphemeralPublicKey()Gets the Ephemeral Public Key (epk) parameter.Methods in com.nimbusds.jose with parameters of type JWKModifier and TypeMethodDescriptionJWEHeader.Builder.ephemeralPublicKey(JWK epk) Sets the Ephemeral Public Key (epk) parameter.Sets the public JSON Web Key (JWK) (jwk) parameter.Sets the public JSON Web Key (JWK) (jwk) parameter.Constructors in com.nimbusds.jose with parameters of type JWKModifierConstructorDescriptionJWEHeader(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, String iss, String sub, List<String> aud, Map<String, Object> customParams, Base64URL parsedBase64URL) Creates a new JSON Web Encryption (JWE) header.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) Deprecated.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 JWKModifierConstructorDescriptionMultiDecrypter(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 JWKModifier and TypeMethodDescriptionDefaultJWSSignerFactory.createJWSSigner(JWK key) DefaultJWSSignerFactory.createJWSSigner(JWK key, JWSAlgorithm alg) -
Uses of JWK in com.nimbusds.jose.jwk
Subclasses of JWK in com.nimbusds.jose.jwkModifier and TypeClassDescriptionfinal classPublic and privateElliptic CurveJSON Web Key (JWK).classOctet key pairJSON Web Key (JWK), used to represent Edwards-curve keys.final classOctet sequenceJSON Web Key (JWK), used to represent symmetric keys.final classPublic and privateRSAJSON Web Key (JWK).Methods in com.nimbusds.jose.jwk that return JWKModifier and TypeMethodDescriptionJWKSet.getKeyByKeyId(String kid) Returns the key from this JWK set as identified by its Key ID (kid) member.static JWKLoads a JWK from the specified JCE key store.static JWKParses a JWK from the specified JSON object string representation.static JWKJWK.parse(X509Certificate cert) static JWKParses a JWK from the specified JSON object representation.static JWKJWK.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 JWKJWK.parseFromPEMEncodedX509Cert(String pemEncodedCert) abstract JWKJWK.toPublicJWK()Creates a copy of this JWK with all private or sensitive parameters removed.abstract JWKJWK.toRevokedJWK(KeyRevocation keyRevocation) Creates a copy of this JWK with the specified key revocation.Methods in com.nimbusds.jose.jwk that return types with arguments of type JWKModifier and TypeMethodDescriptionJWKSet.getKeys()Returns the keys (ordered) of this JWK set.Selects the keys from the specified JWK set according to the matcher's criteria.Methods in com.nimbusds.jose.jwk with parameters of type JWKModifier and TypeMethodDescriptionstatic ThumbprintURIComputes the SHA-256 JWK thumbprint URI for the specified JWK.static Base64URLComputes the SHA-256 thumbprint for the specified JWK.static Base64URLComputes the thumbprint for the specified JWK.booleanJWKSet.containsJWK(JWK jwk) Returnstrueif this JWK set contains the specified JWK as public or private key, by comparing its thumbprint with those of the keys in the set.booleanReturnstrueif the specified JWK matches.Method parameters in com.nimbusds.jose.jwk with type arguments of type JWKModifier and TypeMethodDescriptionstatic JWKExceptionJWKException.expectedClass(Class<? extends JWK> expectedJWKClass) Creates a new JWK type exception.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 JWKConstructor parameters in com.nimbusds.jose.jwk with type arguments of type JWK -
Uses of JWK in com.nimbusds.jose.jwk.gen
Classes in com.nimbusds.jose.jwk.gen with type parameters of type JWK -
Uses of JWK in com.nimbusds.jose.jwk.source
Methods in com.nimbusds.jose.jwk.source that return types with arguments of type JWKModifier and TypeMethodDescriptionImmutableJWKSet.get(JWKSelector jwkSelector, C context) Retrieves a list of JWKs matching the specified selector.JWKSecurityContextJWKSet.get(JWKSelector jwkSelector, JWKSecurityContext context) Retrieves a list of JWKs matching the specified selector.JWKSetBasedJWKSource.get(JWKSelector jwkSelector, C context) JWKSource.get(JWKSelector jwkSelector, C context) Retrieves a list of JWKs matching the specified selector.JWKSourceWithFailover.get(JWKSelector jwkSelector, C context) 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 JWKConstructor parameters in com.nimbusds.jose.proc with type arguments of type JWKModifierConstructorDescriptionJWKSecurityContext(List<JWK> keys) Constructs aJWKSecurityContextwith the provided parameters. -
Uses of JWK in com.nimbusds.jose.produce
Methods in com.nimbusds.jose.produce with parameters of type JWKModifier and TypeMethodDescriptionJWSSignerFactory.createJWSSigner(JWK key) Create a JWS signer based on the key.JWSSignerFactory.createJWSSigner(JWK key, JWSAlgorithm alg) Create a JWS signer based on the key and algorithm.