Class AlgorithmParametersSpi
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- org.bouncycastle.jcajce.provider.asymmetric.dsa.AlgorithmParametersSpi
-
public class AlgorithmParametersSpi extends java.security.AlgorithmParametersSpi
-
-
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 DSAParameter.protected byte[]
engineGetEncoded(java.lang.String format)
protected java.security.spec.AlgorithmParameterSpec
engineGetParameterSpec(java.lang.Class paramSpec)
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 boolean
isASN1FormatString(java.lang.String format)
protected java.security.spec.AlgorithmParameterSpec
localEngineGetParameterSpec(java.lang.Class paramSpec)
-
-
-
Method Detail
-
isASN1FormatString
protected boolean isASN1FormatString(java.lang.String format)
-
engineGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec) throws java.security.spec.InvalidParameterSpecException
- Specified by:
engineGetParameterSpec
in classjava.security.AlgorithmParametersSpi
- Throws:
java.security.spec.InvalidParameterSpecException
-
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 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
- 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
-
-