Package | Description |
---|---|
com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
Modifier and Type | Method and Description |
---|---|
static KeyOperation |
KeyOperation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyOperation[] |
KeyOperation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<KeyOperation> |
JWKSelector.getKeyOperations()
Gets the selected key operations.
|
java.util.Set<KeyOperation> |
JWK.getKeyOperations()
Gets the operations (
key_ops ) for this JWK. |
static java.util.Set<KeyOperation> |
KeyOperation.parse(java.util.List<java.lang.String> sl)
Parses a key operation set from the specified JWK
key_ops
parameter value. |
Modifier and Type | Method and Description |
---|---|
void |
JWKSelector.setKeyOperation(KeyOperation op)
Sets a single selected key operation.
|
void |
JWKSelector.setKeyOperations(KeyOperation... ops)
Sets the selected key operations.
|
Modifier and Type | Method and Description |
---|---|
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.keyOperations(java.util.Set<KeyOperation> ops)
Sets the operations (
key_ops ) of the JWK (for a
non-public key). |
ECKey.Builder |
ECKey.Builder.keyOperations(java.util.Set<KeyOperation> ops)
Sets the operations (
key_ops ) of the JWK. |
RSAKey.Builder |
RSAKey.Builder.keyOperations(java.util.Set<KeyOperation> ops)
Sets the operations (
key_ops ) of the JWK (for a
non-public key). |
void |
JWKSelector.setKeyOperations(java.util.Set<KeyOperation> ops)
Sets the selected key operations.
|
Constructor and Description |
---|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
Base64URL d,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
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,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
java.security.interfaces.ECPublicKey pub,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
JWK(KeyType kty,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new JSON Web Key (JWK).
|
OctetSequenceKey(Base64URL k,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
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,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
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,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL d,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public RSA JSON Web Key (JWK) with the specified
parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public RSA JSON Web Key (JWK) with the specified
parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
java.security.interfaces.RSAMultiPrimePrivateCrtKey priv,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
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,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
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,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
Copyright © 2014 Connect2id Ltd.. All Rights Reserved.