Package com.nimbusds.jose.crypto.impl
Class ECDSAProvider
java.lang.Object
com.nimbusds.jose.crypto.impl.BaseJWSProvider
com.nimbusds.jose.crypto.impl.ECDSAProvider
- All Implemented Interfaces:
JCAAware<JCAContext>
,JOSEProvider
,JWSProvider
- Direct Known Subclasses:
ECDSASigner
,ECDSAVerifier
The base abstract class for Elliptic Curve Digital Signature Algorithm
(ECDSA) signers and validators of
JWS
objects
.
Supports the following algorithms:
- Version:
- 2024-05-07
- Author:
- Axel Nennker, Vladimir Dzhuvinov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Set<JWSAlgorithm>
The supported JWS algorithms by the EC-DSA provider class.The supported curves by the EC-DSA provider class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Creates a new Elliptic Curve Digital Signature Algorithm (ECDSA) provider. -
Method Summary
Modifier and TypeMethodDescriptionReturns the supported ECDSA algorithm.Methods inherited from class com.nimbusds.jose.crypto.impl.BaseJWSProvider
getJCAContext, supportedJWSAlgorithms
-
Field Details
-
SUPPORTED_ALGORITHMS
The supported JWS algorithms by the EC-DSA provider class. -
SUPPORTED_CURVES
The supported curves by the EC-DSA provider class.
-
-
Constructor Details
-
ECDSAProvider
Creates a new Elliptic Curve Digital Signature Algorithm (ECDSA) provider.- Parameters:
alg
- The EC-DSA algorithm. Must be supported and notnull
.- Throws:
JOSEException
- If JWS algorithm is not supported.
-
-
Method Details
-
supportedECDSAAlgorithm
Returns the supported ECDSA algorithm.- Returns:
- The supported ECDSA algorithm.
- See Also:
-