org.gudy.bouncycastle.jce.spec
Class ECPrivateKeySpec
java.lang.Object
  
org.gudy.bouncycastle.jce.spec.ECKeySpec
      
org.gudy.bouncycastle.jce.spec.ECPrivateKeySpec
- All Implemented Interfaces: 
 - KeySpec
 
public class ECPrivateKeySpec
- extends ECKeySpec
 
Elliptic Curve private key specification.
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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.
 
getD
public BigInteger getD()
- return the private number D