| Package | Description |
|---|---|
| com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
| Modifier and Type | Method and Description |
|---|---|
Use |
JWK.getKeyUse()
Gets the use (
use) of this JWK. |
protected static Use |
JWK.parseKeyUse(net.minidev.json.JSONObject jsonObject)
Parses a key use (
use) parameter from the specified JSON
object representation of a JWK. |
static Use |
Use.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Use[] |
Use.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
Base64URL d,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
ECKey(ECKey.Curve crv,
java.security.interfaces.ECPublicKey pub,
java.security.interfaces.ECPrivateKey priv,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
java.security.interfaces.ECPublicKey pub,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
JWK(KeyType kty,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new JSON Web Key (JWK).
|
OctetSequenceKey(Base64URL k,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new octet sequence JSON Web Key (JWK) with the specified
parameters.
|
OctetSequenceKey(byte[] k,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new octet sequence JSON Web Key (JWK) with the specified
parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL d,
Base64URL p,
Base64URL q,
Base64URL dp,
Base64URL dq,
Base64URL qi,
java.util.List<RSAKey.OtherPrimesInfo> oth,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL p,
Base64URL q,
Base64URL dp,
Base64URL dq,
Base64URL qi,
java.util.List<RSAKey.OtherPrimesInfo> oth,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL d,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public RSA JSON Web Key (JWK) with the specified
parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
java.security.interfaces.RSAMultiPrimePrivateCrtKey priv,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
java.security.interfaces.RSAPrivateCrtKey priv,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
java.security.interfaces.RSAPrivateKey priv,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public RSA JSON Web Key (JWK) with the specified
parameters.
|
Copyright © 2013 NimbusDS. All Rights Reserved.