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.
|
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.
|
Copyright © 2016 Connect2id Ltd.. All rights reserved.