Interface GordianElliptic
- All Known Implementing Classes:
GordianDSAElliptic,GordianDSTU4145Elliptic,GordianGOSTElliptic,GordianSM2Elliptic
public interface GordianElliptic
Elliptic framework.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanCan the curve encrypt?Obtain the name of the curve.intObtain the bitSize of the curve.default booleanDoes the curve have a custom implementation?
-
Method Details
-
getCurveName
String getCurveName()Obtain the name of the curve.- Returns:
- the name
-
getKeySize
int getKeySize()Obtain the bitSize of the curve.- Returns:
- the size
-
canEncrypt
default boolean canEncrypt()Can the curve encrypt?- Returns:
- true/false
-
hasCustomCurve
default boolean hasCustomCurve()Does the curve have a custom implementation?- Returns:
- true/false
-