Bouncy Castle Cryptography Library 1.37

org.bouncycastle.jce.provider
Class JDKAlgorithmParameters.DSA

java.lang.Object
  extended by java.security.AlgorithmParametersSpi
      extended by org.bouncycastle.jce.provider.JDKAlgorithmParameters
          extended by org.bouncycastle.jce.provider.JDKAlgorithmParameters.DSA
Enclosing class:
JDKAlgorithmParameters

public static class JDKAlgorithmParameters.DSA
extends JDKAlgorithmParameters


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bouncycastle.jce.provider.JDKAlgorithmParameters
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.DSA()
           
 
Method Summary
protected  byte[] engineGetEncoded()
          Return the X.509 ASN.1 structure DSAParameter.
protected  byte[] engineGetEncoded(java.lang.String format)
           
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()
           
protected  java.security.spec.AlgorithmParameterSpec localEngineGetParameterSpec(java.lang.Class paramSpec)
           
 
Methods inherited from class org.bouncycastle.jce.provider.JDKAlgorithmParameters
engineGetParameterSpec, isASN1FormatString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKAlgorithmParameters.DSA

public JDKAlgorithmParameters.DSA()
Method Detail

engineGetEncoded

protected byte[] engineGetEncoded()
Return the X.509 ASN.1 structure DSAParameter.

  DSAParameter ::= SEQUENCE {
                   prime INTEGER, -- p
                   subprime INTEGER, -- q
                   base INTEGER, -- g}
 

Specified by:
engineGetEncoded in class java.security.AlgorithmParametersSpi

engineGetEncoded

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

localEngineGetParameterSpec

protected java.security.spec.AlgorithmParameterSpec localEngineGetParameterSpec(java.lang.Class paramSpec)
                                                                         throws java.security.spec.InvalidParameterSpecException
Specified by:
localEngineGetParameterSpec in class JDKAlgorithmParameters
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 Library 1.37