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