Package org.conscrypt
Class ECParameters
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- org.conscrypt.ECParameters
-
@Internal public class ECParameters extends AlgorithmParametersSpi
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.
-
-
Constructor Summary
Constructors Constructor Description ECParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]engineGetEncoded()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 StringengineToString()
-
-
-
Method Detail
-
engineInit
protected void engineInit(AlgorithmParameterSpec algorithmParameterSpec) throws InvalidParameterSpecException
- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
InvalidParameterSpecException
-
engineInit
protected void engineInit(byte[] bytes) throws IOException- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
IOException
-
engineInit
protected void engineInit(byte[] bytes, String format) throws IOException- 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
protected byte[] engineGetEncoded() throws IOException- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineGetEncoded
protected byte[] engineGetEncoded(String format) throws IOException
- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineToString
protected String engineToString()
- Specified by:
engineToStringin classAlgorithmParametersSpi
-
-