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.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 JWKJWEHeader. getEphemeralPublicKey()Gets the Ephemeral Public Key (epk) parameter.Methods in com.nimbusds.jose with parameters of type JWK Modifier and Type Method Description JWEHeader.BuilderJWEHeader.Builder. ephemeralPublicKey(JWK epk)Sets the Ephemeral Public Key (epk) parameter.JWEHeader.BuilderJWEHeader.Builder. jwk(JWK jwk)Sets the JSON Web Key (JWK) (jwk) parameter.JWSHeader.BuilderJWSHeader.Builder. jwk(JWK jwk)Sets the 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.factories
Methods in com.nimbusds.jose.crypto.factories with parameters of type JWK Modifier and Type Method Description JWSSignerDefaultJWSSignerFactory. createJWSSigner(JWK key)JWSSignerDefaultJWSSignerFactory. 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 classECKeyPublic and privateElliptic CurveJSON Web Key (JWK).classOctetKeyPairOctet key pairJSON Web Key (JWK), used to represent Edwards-curve keys.classOctetSequenceKeyOctet sequenceJSON Web Key (JWK), used to represent symmetric keys.classRSAKeyPublic and privateRSAJSON Web Key (JWK).Methods in com.nimbusds.jose.jwk that return JWK Modifier and Type Method Description JWKJWKSet. getKeyByKeyId(String kid)Gets the key from this JSON Web Key (JWK) set as identified by its Key ID (kid) member.static JWKJWK. load(KeyStore keyStore, String alias, char[] pin)Loads a JWK from the specified JCE key store.static JWKJWK. parse(String s)Parses a JWK from the specified JSON object string representation.static JWKJWK. parse(X509Certificate cert)static JWKJWK. parse(Map<String,Object> jsonObject)Parses 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.Methods in com.nimbusds.jose.jwk that return types with arguments of type JWK Modifier and Type Method Description List<JWK>JWKSet. getKeys()Gets the keys (ordered) of this JSON Web Key (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 Base64URLThumbprintUtils. compute(JWK jwk)Computes the SHA-256 thumbprint for the specified JWK.static Base64URLThumbprintUtils. compute(String hashAlg, JWK jwk)Computes 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.booleanJWKMatcher. matches(JWK key)Returnstrueif the specified JWK matches.Method parameters in com.nimbusds.jose.jwk with type arguments of type JWK Modifier and Type Method Description static JWKExceptionJWKException. 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 JSON Web Key (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 JSON Web Key (JWK) set with the specified keys.JWKSet(List<JWK> keys, Map<String,Object> customMembers)Creates a new JSON Web Key (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 classJWKGenerator<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>JWKSource. get(JWKSelector jwkSelector, C context)Retrieves a list of JWKs matching the specified selector.List<JWK>RemoteJWKSet. get(JWKSelector jwkSelector, C context)Retrieves a list of JWKs matching the specified selector. -
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 ofJWKs.Constructor parameters in com.nimbusds.jose.proc with type arguments of type JWK Constructor Description JWKSecurityContext(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 JWK Modifier and Type Method Description JWSSignerJWSSignerFactory. createJWSSigner(JWK key)Create a JWS signer based on the key.JWSSignerJWSSignerFactory. createJWSSigner(JWK key, JWSAlgorithm alg)Create a JWS signer based on the key and algorithm.
-