| Package | Description |
|---|---|
| com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
| Modifier and Type | Field and Description |
|---|---|
static ECKey.Curve |
ECKey.Curve.P_256
P-256 curve (secp256r1, also called prime256v1).
|
static ECKey.Curve |
ECKey.Curve.P_384
P-384 curve (secp384r1).
|
static ECKey.Curve |
ECKey.Curve.P_521
P-521 curve (secp521r1).
|
| Modifier and Type | Method and Description |
|---|---|
static ECKey.Curve |
ECKey.Curve.forECParameterSpec(ECParameterSpec spec)
Gets the cryptographic curve for the specified parameter
specification.
|
static ECKey.Curve |
ECKey.Curve.forStdName(String stdName)
Gets the cryptographic curve for the specified standard
name.
|
ECKey.Curve |
ECKey.getCurve()
Gets the cryptographic curve.
|
static ECKey.Curve |
ECKey.Curve.parse(String s)
Parses a cryptographic curve from the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ECKey.Curve> |
JWKMatcher.getCurves()
Returns the curves to match (for EC keys).
|
| Modifier and Type | Method and Description |
|---|---|
JWKMatcher.Builder |
JWKMatcher.Builder.curve(ECKey.Curve curve)
Sets a single curve to match (for EC keys).
|
JWKMatcher.Builder |
JWKMatcher.Builder.curves(ECKey.Curve... curves)
Sets multiple curves to match (for EC keys).
|
| Modifier and Type | Method and Description |
|---|---|
JWKMatcher.Builder |
JWKMatcher.Builder.curves(Set<ECKey.Curve> curves)
Sets multiple curves to match (for EC keys).
|
| Constructor and Description |
|---|
Builder(ECKey.Curve crv,
Base64URL x,
Base64URL y)
Creates a new Elliptic Curve JWK builder.
|
Builder(ECKey.Curve crv,
ECPublicKey pub)
Creates a new Elliptic Curve JWK builder.
|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
Base64URL d,
KeyUse use,
Set<KeyOperation> ops,
Algorithm alg,
String kid,
URI x5u,
Base64URL x5t,
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,
Set<KeyOperation> ops,
Algorithm alg,
String kid,
URI x5u,
Base64URL x5t,
List<Base64> x5c)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
ECKey(ECKey.Curve crv,
ECPublicKey pub,
ECPrivateKey priv,
KeyUse use,
Set<KeyOperation> ops,
Algorithm alg,
String kid,
URI x5u,
Base64URL x5t,
List<Base64> x5c)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
ECPublicKey pub,
KeyUse use,
Set<KeyOperation> ops,
Algorithm alg,
String kid,
URI x5u,
Base64URL x5t,
List<Base64> x5c)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
| Constructor and Description |
|---|
JWKMatcher(Set<KeyType> types,
Set<KeyUse> uses,
Set<KeyOperation> ops,
Set<Algorithm> algs,
Set<String> ids,
boolean privateOnly,
boolean publicOnly,
int minSizeBits,
int maxSizeBits,
Set<ECKey.Curve> curves)
Creates a new JSON Web Key (JWK) matcher.
|
Copyright © 2016 Connect2id Ltd.. All rights reserved.