Class AlgorithmParametersSpi
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters
-
- org.bouncycastle.jcajce.provider.asymmetric.elgamal.AlgorithmParametersSpi
-
public class AlgorithmParametersSpi extends BaseAlgorithmParameters
-
-
Constructor Summary
Constructors Constructor Description AlgorithmParametersSpi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
engineGetEncoded()
Return the X.509 ASN.1 structure ElGamalParameter.protected byte[]
engineGetEncoded(java.lang.String format)
protected void
engineInit(byte[] params)
protected void
engineInit(byte[] params, java.lang.String format)
protected void
engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
protected java.lang.String
engineToString()
protected java.security.spec.AlgorithmParameterSpec
localEngineGetParameterSpec(java.lang.Class paramSpec)
-
Methods inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters
engineGetParameterSpec, isASN1FormatString
-
-
-
-
Method Detail
-
engineGetEncoded
protected byte[] engineGetEncoded()
Return the X.509 ASN.1 structure ElGamalParameter.ElGamalParameter ::= SEQUENCE { prime INTEGER, -- p base INTEGER, -- g}
- Specified by:
engineGetEncoded
in classjava.security.AlgorithmParametersSpi
-
engineGetEncoded
protected byte[] engineGetEncoded(java.lang.String format)
- Specified by:
engineGetEncoded
in classjava.security.AlgorithmParametersSpi
-
localEngineGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec localEngineGetParameterSpec(java.lang.Class paramSpec) throws java.security.spec.InvalidParameterSpecException
- Specified by:
localEngineGetParameterSpec
in classBaseAlgorithmParameters
- Throws:
java.security.spec.InvalidParameterSpecException
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecException
- Specified by:
engineInit
in classjava.security.AlgorithmParametersSpi
- Throws:
java.security.spec.InvalidParameterSpecException
-
engineInit
protected void engineInit(byte[] params) throws java.io.IOException
- Specified by:
engineInit
in classjava.security.AlgorithmParametersSpi
- Throws:
java.io.IOException
-
engineInit
protected void engineInit(byte[] params, java.lang.String format) throws java.io.IOException
- Specified by:
engineInit
in classjava.security.AlgorithmParametersSpi
- Throws:
java.io.IOException
-
engineToString
protected java.lang.String engineToString()
- Specified by:
engineToString
in classjava.security.AlgorithmParametersSpi
-
-