Package org.bouncycastle.jcajce.spec
Class DHExtendedPrivateKeySpec
java.lang.Object
javax.crypto.spec.DHPrivateKeySpec
org.bouncycastle.jcajce.spec.DHExtendedPrivateKeySpec
- All Implemented Interfaces:
KeySpec
A DHPrivateKeySpec that also carries a set of DH domain parameters.
-
Constructor Summary
ConstructorDescriptionDHExtendedPrivateKeySpec
(BigInteger x, DHParameterSpec params) Base constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn the domain parameters associated with this key spec.Methods inherited from class javax.crypto.spec.DHPrivateKeySpec
getG, getP, getX
-
Constructor Details
-
DHExtendedPrivateKeySpec
Base constructor.- Parameters:
x
- the private value.params
- the domain parameter set.
-
-
Method Details
-
getParams
Return the domain parameters associated with this key spec.- Returns:
- the Diffie-Hellman domain parameters.
-