com.ibm.crypto.provider
Class DHParameters
java.lang.Object
java.security.AlgorithmParametersSpi
com.ibm.crypto.provider.DHParameters
public final class DHParameters
- extends AlgorithmParametersSpi
This class implements the parameter set used by the
Diffie-Hellman key agreement as defined in the PKCS #3 standard.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p
protected BigInteger p
g
protected BigInteger g
DHParameters
public DHParameters()
engineInit
protected void engineInit(AlgorithmParameterSpec paramSpec)
throws InvalidParameterSpecException
- Specified by:
engineInit
in class AlgorithmParametersSpi
- Throws:
InvalidParameterSpecException
engineInit
protected void engineInit(byte[] params)
throws IOException
- Specified by:
engineInit
in class AlgorithmParametersSpi
- Throws:
IOException
engineInit
protected void engineInit(byte[] params,
String decodingMethod)
throws IOException
- Specified by:
engineInit
in class AlgorithmParametersSpi
- Throws:
IOException
engineGetParameterSpec
protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec)
throws InvalidParameterSpecException
- Specified by:
engineGetParameterSpec
in class AlgorithmParametersSpi
- Throws:
InvalidParameterSpecException
engineGetEncoded
protected byte[] engineGetEncoded()
throws IOException
- Specified by:
engineGetEncoded
in class AlgorithmParametersSpi
- Throws:
IOException
engineGetEncoded
protected byte[] engineGetEncoded(String encodingMethod)
throws IOException
- Specified by:
engineGetEncoded
in class AlgorithmParametersSpi
- Throws:
IOException
engineToString
protected String engineToString()
- Specified by:
engineToString
in class AlgorithmParametersSpi