org.bouncycastle.jce.spec

Class ECPrivateKeySpec

Implemented Interfaces:
KeySpec

public class ECPrivateKeySpec
extends ECKeySpec

Elliptic Curve private key specification.

Constructor Summary

ECPrivateKeySpec(BigInteger d, ECParameterSpec spec)
base constructor

Method Summary

BigInteger
getD()
return the private number D

Methods inherited from class org.bouncycastle.jce.spec.ECKeySpec

getParams

Constructor Details

ECPrivateKeySpec

public ECPrivateKeySpec(BigInteger d,
                        ECParameterSpec spec)
base constructor
Parameters:
d - the private number for the key.
spec - the domain parameters for the curve being used.

Method Details

getD

public BigInteger getD()
return the private number D