Bouncy Castle Cryptography 1.30

org.bouncycastle.jce.provider
Class JDKAlgorithmParameters.ElGamal

java.lang.Object
  extended byjava.security.AlgorithmParametersSpi
      extended byorg.bouncycastle.jce.provider.JDKAlgorithmParameters
          extended byorg.bouncycastle.jce.provider.JDKAlgorithmParameters.ElGamal
Enclosing class:
JDKAlgorithmParameters

public static class JDKAlgorithmParameters.ElGamal
extends JDKAlgorithmParameters


Nested Class Summary
 
Nested classes 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
 
Constructor Summary
JDKAlgorithmParameters.ElGamal()
           
 
Method Summary
protected  byte[] engineGetEncoded()
          Return the X.509 ASN.1 structure ElGamalParameter.
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.ElGamal

public JDKAlgorithmParameters.ElGamal()
Method Detail

engineGetEncoded

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

  ElGamalParameter ::= SEQUENCE {
                   prime INTEGER, -- p
                   base INTEGER, -- g}
 


engineGetEncoded

protected byte[] engineGetEncoded(java.lang.String format)

engineGetParameterSpec

protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
                                                                    throws java.security.spec.InvalidParameterSpecException
Throws:
java.security.spec.InvalidParameterSpecException

engineInit

protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
                   throws java.security.spec.InvalidParameterSpecException
Throws:
java.security.spec.InvalidParameterSpecException

engineInit

protected void engineInit(byte[] params)
                   throws java.io.IOException
Throws:
java.io.IOException

engineInit

protected void engineInit(byte[] params,
                          java.lang.String format)
                   throws java.io.IOException
Throws:
java.io.IOException

engineToString

protected java.lang.String engineToString()

Bouncy Castle Cryptography 1.30