Package com.nimbusds.jose.jwk.gen
Class ECKeyGenerator
- Version:
- 2024-12-15
- Author:
- Vladimir Dzhuvinov, Justin Cranford
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.nimbusds.jose.jwk.gen.JWKGenerator
algorithm, expirationTime, issueTime, keyID, keyIDFromThumbprint, keyOperations, keyStore, keyUse, notBeforeTime, provider, secureRandom
-
Constructor Details
-
ECKeyGenerator
Creates a new EC JWK generator.- Parameters:
crv
- The curve. Must not benull
.
-
-
Method Details
-
generate
Description copied from class:JWKGenerator
Generates the JWK according to the set parameters.- Specified by:
generate
in classJWKGenerator<ECKey>
- Returns:
- The generated JWK.
- Throws:
JOSEException
- If the key generation failed.
-