Package org.bouncycastle.crypto.params
Class DHPublicKeyParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.AsymmetricKeyParameter
-
- org.bouncycastle.crypto.params.DHKeyParameters
-
- org.bouncycastle.crypto.params.DHPublicKeyParameters
-
- All Implemented Interfaces:
CipherParameters
public class DHPublicKeyParameters extends DHKeyParameters
-
-
Constructor Summary
Constructors Constructor Description DHPublicKeyParameters(java.math.BigInteger y, DHParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.math.BigInteger
getY()
int
hashCode()
-
Methods inherited from class org.bouncycastle.crypto.params.DHKeyParameters
getParameters
-
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Constructor Detail
-
DHPublicKeyParameters
public DHPublicKeyParameters(java.math.BigInteger y, DHParameters params)
-
-
Method Detail
-
getY
public java.math.BigInteger getY()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDHKeyParameters
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classDHKeyParameters
-
-