Google

Bouncy Castle Cryptography 1.11 API Specification: Class JDKAlgorithmParameters.DH
Bouncy Castle Cryptography 1.11

org.bouncycastle.jce.provider
Class JDKAlgorithmParameters.DH

java.lang.Object
  |
  +--java.security.AlgorithmParametersSpi
        |
        +--org.bouncycastle.jce.provider.JDKAlgorithmParameters
              |
              +--org.bouncycastle.jce.provider.JDKAlgorithmParameters.DH
Enclosing class:
JDKAlgorithmParameters

public static class JDKAlgorithmParameters.DH
extends JDKAlgorithmParameters


Inner classes inherited from class org.bouncycastle.jce.provider.JDKAlgorithmParameters
JDKAlgorithmParameters.DH, JDKAlgorithmParameters.DSA, JDKAlgorithmParameters.ElGamal, JDKAlgorithmParameters.IVAlgorithmParameters
 
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}
 
Overrides:
engineGetEncoded in class java.security.AlgorithmParametersSpi

engineGetEncoded

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

engineGetParameterSpec

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

engineInit

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

engineInit

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

engineInit

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

engineToString

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

Bouncy Castle Cryptography 1.11