com.mindbright.security.publickey
Class DHPrivateKey

java.lang.Object
  extended bycom.mindbright.jce.crypto.spec.DHParamsImpl
      extended bycom.mindbright.jce.crypto.spec.DHParameterSpec
          extended bycom.mindbright.security.publickey.DHKey
              extended bycom.mindbright.security.publickey.DHPrivateKey
All Implemented Interfaces:
AlgorithmParameterSpec, DHKey, DHPrivateKey, Key, PrivateKey, java.io.Serializable

public class DHPrivateKey
extends DHKey
implements DHPrivateKey

See Also:
Serialized Form

Field Summary
protected  java.math.BigInteger x
           
 
Fields inherited from class com.mindbright.jce.crypto.spec.DHParameterSpec
l
 
Fields inherited from class com.mindbright.jce.crypto.spec.DHParamsImpl
g, p
 
Constructor Summary
DHPrivateKey(java.math.BigInteger x, java.math.BigInteger p, java.math.BigInteger g)
           
 
Method Summary
 java.math.BigInteger getX()
           
 
Methods inherited from class com.mindbright.security.publickey.DHKey
getAlgorithm, getEncoded, getFormat, getParams
 
Methods inherited from class com.mindbright.jce.crypto.spec.DHParameterSpec
getL
 
Methods inherited from class com.mindbright.jce.crypto.spec.DHParamsImpl
getG, getP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mindbright.jce.crypto.interfaces.DHKey
getParams
 
Methods inherited from interface com.mindbright.jca.security.Key
getAlgorithm, getEncoded, getFormat
 

Field Detail

x

protected java.math.BigInteger x
Constructor Detail

DHPrivateKey

public DHPrivateKey(java.math.BigInteger x,
                    java.math.BigInteger p,
                    java.math.BigInteger g)
Method Detail

getX

public java.math.BigInteger getX()
Specified by:
getX in interface DHPrivateKey