Package org.conscrypt
Class ECParameters
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- org.conscrypt.ECParameters
-
@Internal public class ECParameters extends java.security.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.
-
-
Field Summary
Fields Modifier and Type Field Description private OpenSSLECGroupContextcurve
-
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(java.lang.String format)protected <T extends java.security.spec.AlgorithmParameterSpec>
TengineGetParameterSpec(java.lang.Class<T> aClass)protected voidengineInit(byte[] bytes)protected voidengineInit(byte[] bytes, java.lang.String format)protected voidengineInit(java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)protected java.lang.StringengineToString()
-
-
-
Field Detail
-
curve
private OpenSSLECGroupContext curve
-
-
Method Detail
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec algorithmParameterSpec) throws java.security.spec.InvalidParameterSpecException- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Throws:
java.security.spec.InvalidParameterSpecException
-
engineInit
protected void engineInit(byte[] bytes) throws java.io.IOException- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
engineInit
protected void engineInit(byte[] bytes, java.lang.String format) throws java.io.IOException- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
engineGetParameterSpec
protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T> aClass) throws java.security.spec.InvalidParameterSpecException- Specified by:
engineGetParameterSpecin classjava.security.AlgorithmParametersSpi- Throws:
java.security.spec.InvalidParameterSpecException
-
engineGetEncoded
protected byte[] engineGetEncoded() throws java.io.IOException- Specified by:
engineGetEncodedin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
engineGetEncoded
protected byte[] engineGetEncoded(java.lang.String format) throws java.io.IOException- Specified by:
engineGetEncodedin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
engineToString
protected java.lang.String engineToString()
- Specified by:
engineToStringin classjava.security.AlgorithmParametersSpi
-
-