public class ECKeySizeParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
AlgorithmParameterSpec,
ECGenParameterSpec| Constructor and Description |
|---|
ECKeySizeParameterSpec(int keySize)
Creates a parameter specification for EC curve
generation using a standard (or predefined) key size
keySize in order to generate the corresponding
(precomputed) elliptic curve. |
| Modifier and Type | Method and Description |
|---|---|
int |
getKeySize()
Returns the key size of this spec.
|
public ECKeySizeParameterSpec(int keySize)
keySize in order to generate the corresponding
(precomputed) elliptic curve.
Note, if the curve of the specified length is not supported,
AlgorithmParameters.init will throw an exception.
keySize - the key size of the curve to lookup