|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.security.ecc.math.ecgroup.Coordinate iaik.security.ecc.math.ecgroup.AffineCoordinate
Representation of affine coordinates (x, y), where x and y are elements of a (finite) field.
Field Summary |
Fields inherited from class iaik.security.ecc.math.ecgroup.Coordinate |
coordinateType_, x_, y_ |
Constructor Summary | |
AffineCoordinate(FieldElement x,
FieldElement y)
Creates a new affine coordinate. |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object other)
|
int |
hashCode()
Returns the hash code of this value. |
Coordinate |
toAffine()
Transforms the current coordinate representation into affine coordinates. |
iaik.asn1.OCTET_STRING |
toASN1Object()
Elliptic Curve Points to Octet String Conversion Primitive or EC2OSP as defined in P1363. |
iaik.security.ecc.math.ecgroup.ProjectiveCoordinate |
toProjective()
Converts the coordinates to a projective representation. |
java.lang.String |
toString()
A human readable coordinate representation. |
Methods inherited from class iaik.security.ecc.math.ecgroup.Coordinate |
getCoordinateType, getX, getY, setX, setY |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AffineCoordinate(FieldElement x, FieldElement y)
x
- the x coordinatey
- the y coordinateMethod Detail |
public java.lang.Object clone()
clone
in class Coordinate
public boolean equals(java.lang.Object other)
equals
in class Coordinate
other
- the other object.
public int hashCode()
hashCode
in class Coordinate
public Coordinate toAffine()
Coordinate
toAffine
in class Coordinate
public iaik.asn1.OCTET_STRING toASN1Object()
toASN1Object
in class Coordinate
public iaik.security.ecc.math.ecgroup.ProjectiveCoordinate toProjective()
public java.lang.String toString()
Coordinate
toString
in class Coordinate
|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |