public class ECKeyGenerator extends JWKGenerator<ECKey>
| Constructor and Description |
|---|
ECKeyGenerator(Curve crv)
Creates a new EC JWK generator.
|
| Modifier and Type | Method and Description |
|---|---|
ECKey |
generate()
Generates the JWK according to the set parameters.
|
algorithm, keyID, keyIDFromThumbprint, keyOperations, keyStore, keyUsepublic ECKeyGenerator(Curve crv)
crv - The curve. Must not be null.public ECKey generate() throws JOSEException
JWKGeneratorgenerate in class JWKGenerator<ECKey>JOSEException - If the key generation failed.Copyright © 2018 Connect2id Ltd.. All rights reserved.