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, java.math.BigInteger x1, java.math.BigInteger x2, java.math.BigInteger y1, java.math.BigInteger y2, java.math.BigInteger z)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CramerShoupPublicKeyParametersgetPk()java.math.BigIntegergetX1()java.math.BigIntegergetX2()java.math.BigIntegergetY1()java.math.BigIntegergetY2()java.math.BigIntegergetZ()inthashCode()voidsetPk(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, java.math.BigInteger x1, java.math.BigInteger x2, java.math.BigInteger y1, java.math.BigInteger y2, java.math.BigInteger z)
-
-
Method Detail
-
getX1
public java.math.BigInteger getX1()
-
getX2
public java.math.BigInteger getX2()
-
getY1
public java.math.BigInteger getY1()
-
getY2
public java.math.BigInteger getY2()
-
getZ
public java.math.BigInteger getZ()
-
setPk
public void setPk(CramerShoupPublicKeyParameters pk)
-
getPk
public CramerShoupPublicKeyParameters getPk()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCramerShoupKeyParameters
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classCramerShoupKeyParameters
-
-