Package com.nimbusds.jose.jwk.gen
Class ECKeyGenerator
- Version:
- 2023-01-29
- 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:JWKGeneratorGenerates the JWK according to the set parameters.- Specified by:
generatein classJWKGenerator<ECKey>- Returns:
- The generated JWK.
- Throws:
JOSEException- If the key generation failed.
-