org.bouncycastle.jce.provider

Class JDKAlgorithmParameters.DH

Enclosing Class:
JDKAlgorithmParameters

public static class JDKAlgorithmParameters.DH
extends JDKAlgorithmParameters

Nested Class Summary

Nested classes/interfaces inherited from class org.bouncycastle.jce.provider.JDKAlgorithmParameters

JDKAlgorithmParameters.CAST5AlgorithmParameters, JDKAlgorithmParameters.DH, JDKAlgorithmParameters.DSA, JDKAlgorithmParameters.ElGamal, JDKAlgorithmParameters.GOST3410, JDKAlgorithmParameters.IDEAAlgorithmParameters, JDKAlgorithmParameters.IES, JDKAlgorithmParameters.IVAlgorithmParameters, JDKAlgorithmParameters.PKCS12PBE, JDKAlgorithmParameters.PSS, JDKAlgorithmParameters.RC2AlgorithmParameters

Method Summary

protected byte[]
engineGetEncoded()
Return the PKCS#3 ASN.1 structure DHParameter.
protected byte[]
engineGetEncoded(String format)
protected AlgorithmParameterSpec
engineGetParameterSpec(Class paramSpec)
protected void
engineInit(AlgorithmParameterSpec paramSpec)
protected void
engineInit(byte[] params)
protected void
engineInit(byte[] params, String format)
protected String
engineToString()

Method Details

engineGetEncoded

protected byte[] engineGetEncoded()
Return the PKCS#3 ASN.1 structure DHParameter.

  DHParameter ::= SEQUENCE {
                   prime INTEGER, -- p
                   base INTEGER, -- g
                   privateValueLength INTEGER OPTIONAL}
 


engineGetEncoded

protected byte[] engineGetEncoded(String format)


engineGetParameterSpec

protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec)
            throws InvalidParameterSpecException


engineInit

protected void engineInit(AlgorithmParameterSpec paramSpec)
            throws InvalidParameterSpecException


engineInit

protected void engineInit(byte[] params)
            throws IOException


engineInit

protected void engineInit(byte[] params,
                          String format)
            throws IOException


engineToString

protected String engineToString()