Package org.conscrypt
Class ECParameters
java.lang.Object
java.security.AlgorithmParametersSpi
org.conscrypt.ECParameters
AlgorithmParameters implementation for elliptic curves. The only supported encoding format is
ASN.1, as specified in RFC 3279, section 2.3.5. However, only named curves are supported.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
protected byte[]
engineGetEncoded
(String format) protected <T extends AlgorithmParameterSpec>
TengineGetParameterSpec
(Class<T> aClass) protected void
engineInit
(byte[] bytes) protected void
engineInit
(byte[] bytes, String format) protected void
engineInit
(AlgorithmParameterSpec algorithmParameterSpec) protected String
-
Field Details
-
curve
-
-
Constructor Details
-
ECParameters
public ECParameters()
-
-
Method Details
-
engineInit
protected void engineInit(AlgorithmParameterSpec algorithmParameterSpec) throws InvalidParameterSpecException - Specified by:
engineInit
in classAlgorithmParametersSpi
- Throws:
InvalidParameterSpecException
-
engineInit
- Specified by:
engineInit
in classAlgorithmParametersSpi
- Throws:
IOException
-
engineInit
- Specified by:
engineInit
in classAlgorithmParametersSpi
- Throws:
IOException
-
engineGetParameterSpec
protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) throws InvalidParameterSpecException - Specified by:
engineGetParameterSpec
in classAlgorithmParametersSpi
- Throws:
InvalidParameterSpecException
-
engineGetEncoded
- Specified by:
engineGetEncoded
in classAlgorithmParametersSpi
- Throws:
IOException
-
engineGetEncoded
- Specified by:
engineGetEncoded
in classAlgorithmParametersSpi
- Throws:
IOException
-
engineToString
- Specified by:
engineToString
in classAlgorithmParametersSpi
-