Bouncy Castle Cryptography 1.32

org.bouncycastle.jce.provider
Class JDKAlgorithmParameters.DH

java.lang.Object
  extended by java.security.AlgorithmParametersSpi
      extended by org.bouncycastle.jce.provider.JDKAlgorithmParameters
          extended by org.bouncycastle.jce.provider.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.OAEP, JDKAlgorithmParameters.PKCS12PBE, JDKAlgorithmParameters.PSS, JDKAlgorithmParameters.RC2AlgorithmParameters
 
Constructor Summary
JDKAlgorithmParameters.DH()
           
 
Method Summary
protected  byte[] engineGetEncoded()
          Return the PKCS#3 ASN.1 structure DHParameter.
protected  byte[] engineGetEncoded(java.lang.String format)
           
protected  java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
           
protected  void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
           
protected  void engineInit(byte[] params)
           
protected  void engineInit(byte[] params, java.lang.String format)
           
protected  java.lang.String engineToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKAlgorithmParameters.DH

public JDKAlgorithmParameters.DH()
Method Detail

engineGetEncoded

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

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

Specified by:
engineGetEncoded in class java.security.AlgorithmParametersSpi

engineGetEncoded

protected byte[] engineGetEncoded(java.lang.String format)
Specified by:
engineGetEncoded in class java.security.AlgorithmParametersSpi

engineGetParameterSpec

protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
                                                                    throws java.security.spec.InvalidParameterSpecException
Specified by:
engineGetParameterSpec in class java.security.AlgorithmParametersSpi
Throws:
java.security.spec.InvalidParameterSpecException

engineInit

protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
                   throws java.security.spec.InvalidParameterSpecException
Specified by:
engineInit in class java.security.AlgorithmParametersSpi
Throws:
java.security.spec.InvalidParameterSpecException

engineInit

protected void engineInit(byte[] params)
                   throws java.io.IOException
Specified by:
engineInit in class java.security.AlgorithmParametersSpi
Throws:
java.io.IOException

engineInit

protected void engineInit(byte[] params,
                          java.lang.String format)
                   throws java.io.IOException
Specified by:
engineInit in class java.security.AlgorithmParametersSpi
Throws:
java.io.IOException

engineToString

protected java.lang.String engineToString()
Specified by:
engineToString in class java.security.AlgorithmParametersSpi

Bouncy Castle Cryptography 1.32