java.security.spec.KeySpecpublic class ECPrivateKeySpec extends ECKeySpec
| Constructor | Description |
|---|---|
ECPrivateKeySpec(java.math.BigInteger d,
ECParameterSpec spec) |
base constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.math.BigInteger |
getD() |
return the private number D
|
public ECPrivateKeySpec(java.math.BigInteger d,
ECParameterSpec spec)
d - the private number for the key.spec - the domain parameters for the curve being used.