public class ECKeyGenerator extends Object implements KeyGenerator
KeyGenerator that creates Elliptic Curve key pairs.| Constructor and Description |
|---|
ECKeyGenerator()
Create a
KeyGenerator that will create EC key pairs using the secp256r1 named curve (NIST P-256)
supported by modern web browsers. |
ECKeyGenerator(String namedCurve)
Create a
KeyGenerator that will create EC key pairs using the specified named curve. |
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
generate()
Generates a new public/private key pair.
|
String |
toString() |
public ECKeyGenerator()
KeyGenerator that will create EC key pairs using the secp256r1 named curve (NIST P-256)
supported by modern web browsers.public ECKeyGenerator(String namedCurve)
KeyGenerator that will create EC key pairs using the specified named curve.public KeyPair generate()
KeyGeneratorgenerate in interface KeyGeneratorCopyright © 2016. All Rights Reserved.