Intel

Developer Zone

CurvePoint

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.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      byte[] x
      byte[] y
    • 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, toString
    • Field Detail

      • x

        public byte[] x
      • y

        public byte[] y
    • Constructor Detail

      • CurvePoint

        public CurvePoint()
    • 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.