Package org.bouncycastle.crypto.params
Class CramerShoupPrivateKeyParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.AsymmetricKeyParameter
-
- org.bouncycastle.crypto.params.CramerShoupKeyParameters
-
- org.bouncycastle.crypto.params.CramerShoupPrivateKeyParameters
-
- All Implemented Interfaces:
CipherParameters
public class CramerShoupPrivateKeyParameters extends CramerShoupKeyParameters
-
-
Constructor Summary
Constructors Constructor Description CramerShoupPrivateKeyParameters(CramerShoupParameters params, BigInteger x1, BigInteger x2, BigInteger y1, BigInteger y2, BigInteger z)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
CramerShoupPublicKeyParameters
getPk()
BigInteger
getX1()
BigInteger
getX2()
BigInteger
getY1()
BigInteger
getY2()
BigInteger
getZ()
int
hashCode()
void
setPk(CramerShoupPublicKeyParameters pk)
-
Methods inherited from class org.bouncycastle.crypto.params.CramerShoupKeyParameters
getParameters
-
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Constructor Detail
-
CramerShoupPrivateKeyParameters
public CramerShoupPrivateKeyParameters(CramerShoupParameters params, BigInteger x1, BigInteger x2, BigInteger y1, BigInteger y2, BigInteger z)
-
-
Method Detail
-
getX1
public BigInteger getX1()
-
getX2
public BigInteger getX2()
-
getY1
public BigInteger getY1()
-
getY2
public BigInteger getY2()
-
getZ
public BigInteger getZ()
-
setPk
public void setPk(CramerShoupPublicKeyParameters pk)
-
getPk
public CramerShoupPublicKeyParameters getPk()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCramerShoupKeyParameters
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classCramerShoupKeyParameters
-
-