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 voidengineInit(byte[] bytes) protected voidengineInit(byte[] bytes, String format) protected voidengineInit(AlgorithmParameterSpec algorithmParameterSpec) protected String
-
Field Details
-
curve
-
-
Constructor Details
-
ECParameters
public ECParameters()
-
-
Method Details
-
engineInit
protected void engineInit(AlgorithmParameterSpec algorithmParameterSpec) throws InvalidParameterSpecException - Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
InvalidParameterSpecException
-
engineInit
- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
IOException
-
engineInit
- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
IOException
-
engineGetParameterSpec
protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) throws InvalidParameterSpecException - Specified by:
engineGetParameterSpecin classAlgorithmParametersSpi- Throws:
InvalidParameterSpecException
-
engineGetEncoded
- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineGetEncoded
- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineToString
- Specified by:
engineToStringin classAlgorithmParametersSpi
-