Class AlgorithmParametersSpi
java.lang.Object
java.security.AlgorithmParametersSpi
org.bouncycastle.jcajce.provider.asymmetric.dh.AlgorithmParametersSpi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
Return the PKCS#3 ASN.1 structure DHParameter.protected byte[]
engineGetEncoded
(String format) protected AlgorithmParameterSpec
engineGetParameterSpec
(Class paramSpec) protected void
engineInit
(byte[] params) protected void
engineInit
(byte[] params, String format) protected void
engineInit
(AlgorithmParameterSpec paramSpec) protected String
protected boolean
isASN1FormatString
(String format) protected AlgorithmParameterSpec
localEngineGetParameterSpec
(Class paramSpec)
-
Constructor Details
-
AlgorithmParametersSpi
public AlgorithmParametersSpi()
-
-
Method Details
-
isASN1FormatString
-
engineGetParameterSpec
protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecException - Specified by:
engineGetParameterSpec
in classAlgorithmParametersSpi
- Throws:
InvalidParameterSpecException
-
engineGetEncoded
protected byte[] engineGetEncoded()Return the PKCS#3 ASN.1 structure DHParameter.DHParameter ::= SEQUENCE { prime INTEGER, -- p base INTEGER, -- g privateValueLength INTEGER OPTIONAL}
- Specified by:
engineGetEncoded
in classAlgorithmParametersSpi
-
engineGetEncoded
- Specified by:
engineGetEncoded
in classAlgorithmParametersSpi
-
localEngineGetParameterSpec
protected AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecException - Throws:
InvalidParameterSpecException
-
engineInit
- Specified by:
engineInit
in classAlgorithmParametersSpi
- Throws:
InvalidParameterSpecException
-
engineInit
- Specified by:
engineInit
in classAlgorithmParametersSpi
- Throws:
IOException
-
engineInit
- Specified by:
engineInit
in classAlgorithmParametersSpi
- Throws:
IOException
-
engineToString
- Specified by:
engineToString
in classAlgorithmParametersSpi
-