org.apache.geronimo.util.crypto.params
Class DHParameters
java.lang.Object
org.apache.geronimo.util.crypto.params.DHParameters
- All Implemented Interfaces:
- CipherParameters
public class DHParameters
- extends Object
- implements CipherParameters
DHParameters
public DHParameters(BigInteger p,
BigInteger g)
DHParameters
public DHParameters(BigInteger p,
BigInteger g,
BigInteger q,
int j)
DHParameters
public DHParameters(BigInteger p,
BigInteger g,
BigInteger q,
int j,
DHValidationParameters validation)
getP
public BigInteger getP()
getG
public BigInteger getG()
getQ
public BigInteger getQ()
getJ
public int getJ()
- Return the private value length in bits - if set, zero otherwise (use bitLength(P) - 1).
- Returns:
- the private value length in bits, zero otherwise.
getValidationParameters
public DHValidationParameters getValidationParameters()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.