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, keyUse
public ECKeyGenerator(Curve crv)
crv
- The curve. Must not be null
.public ECKey generate() throws JOSEException
JWKGenerator
generate
in class JWKGenerator<ECKey>
JOSEException
- If the key generation failed.Copyright © 2019 Connect2id Ltd.. All rights reserved.