com.intel.crypto
Class CurvePoint
- java.lang.Object
-
- com.intel.crypto.CurvePoint
-
public class CurvePoint extends java.lang.Object
This class is a data container for a point (x,y) on a curve.
-
-
Constructor Summary
Constructors Constructor and Description CurvePoint()
-
Method Summary
Methods Modifier and Type Method and Description static short
getCorrdinateSize(short curveType)
return the size in bytes of a coordinate in the given curve.
-
-
-
Method Detail
-
getCorrdinateSize
public static short getCorrdinateSize(short curveType)
return the size in bytes of a coordinate in the given curve.- Parameters:
curveType
- - the curve to get the coordinate size from.- Returns:
- the size of the coordinate in bytes.
- Throws:
IllegalParameterException
- - in case the curveType isn't supported.
-
-