Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.spec
Class DHExtendedPrivateKeySpec

java.lang.Object
  |
  +--javax.crypto.spec.DHPrivateKeySpec
        |
        +--org.bouncycastle.jcajce.spec.DHExtendedPrivateKeySpec
All Implemented Interfaces:
java.security.spec.KeySpec

public class DHExtendedPrivateKeySpec
extends javax.crypto.spec.DHPrivateKeySpec

A DHPrivateKeySpec that also carries a set of DH domain parameters.


Constructor Summary
DHExtendedPrivateKeySpec(java.math.BigInteger x, javax.crypto.spec.DHParameterSpec params)
          Base constructor.
 
Method Summary
 javax.crypto.spec.DHParameterSpec getParams()
          Return the domain parameters associated with this key spec.
 
Methods inherited from class javax.crypto.spec.DHPrivateKeySpec
getG, getP, getX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHExtendedPrivateKeySpec

public DHExtendedPrivateKeySpec(java.math.BigInteger x,
                                javax.crypto.spec.DHParameterSpec params)
Base constructor.
Parameters:
x - the private value.
params - the domain parameter set.
Method Detail

getParams

public javax.crypto.spec.DHParameterSpec getParams()
Return the domain parameters associated with this key spec.
Returns:
the Diffie-Hellman domain parameters.

Bouncy Castle Cryptography Library 1.77.0