public class ECPrivateKeySpec extends ECKeySpec
Constructor and Description |
---|
ECPrivateKeySpec(java.math.BigInteger d,
ECParameterSpec spec)
base constructor
|
Modifier and Type | Method and 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.