public abstract class ECDSAProvider extends BaseJWSProvider
JWS
objects.
Supports the following algorithms:
| Modifier and Type | Field and Description |
|---|---|
static Set<JWSAlgorithm> |
SUPPORTED_ALGORITHMS
The supported JWS algorithms by the EC-DSA provider class.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ECDSAProvider(JWSAlgorithm alg)
Creates a new Elliptic Curve Digital Signature Algorithm (ECDSA)
provider.
|
| Modifier and Type | Method and Description |
|---|---|
JWSAlgorithm |
supportedECDSAAlgorithm()
Returns the supported ECDSA algorithm.
|
getJCAContext, supportedJWSAlgorithmspublic static final Set<JWSAlgorithm> SUPPORTED_ALGORITHMS
protected ECDSAProvider(JWSAlgorithm alg) throws JOSEException
alg - The EC-DSA algorithm. Must be supported and not
null.JOSEException - If JWS algorithm is not supported.public JWSAlgorithm supportedECDSAAlgorithm()
BaseJWSProvider.supportedJWSAlgorithms()Copyright © 2019 Connect2id Ltd.. All rights reserved.