APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.security.ec.point

public abstract Class ProjectivePoint<T extends IntegerModuloP>

extends Object
implements Point
Class Inheritance
All Implemented Interfaces
sun.security.ec.point.Point
Known Direct Subclasses
sun.security.ec.point.ProjectivePoint.Immutable, sun.security.ec.point.ProjectivePoint.Mutable
Imports
sun.security.util.math.*, jdk.internal.vm.annotation.ForceInline

Elliptic curve point in projective coordinates (X, Y, Z) where an affine point (x, y) is represented using any (X, Y, Z) s.t. x = X/Z and y = Y/Z.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Field Summary

Modifier and TypeField and Description
protected final T
x

protected final T
y

protected final T
z

Constructor Summary

AccessConstructor and Description
protected
ProjectivePoint(T x, T y, T z)

Method Summary

Modifier and TypeMethod and Description
private static <T1 extends IntegerModuloP, T2 extends IntegerModuloP> boolean
public boolean
public AffinePoint
public ProjectivePoint.Immutable
public IntegerFieldModuloP
public T
getX()

public T
getY()

public T
getZ()

public ProjectivePoint.Mutable
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

xback to summary
protected final T x
yback to summary
protected final T y
zback to summary
protected final T z

Constructor Detail

ProjectivePointback to summary
protected ProjectivePoint(T x, T y, T z)

Method Detail

affineEqualsback to summary
private static <T1 extends IntegerModuloP, T2 extends IntegerModuloP> boolean affineEquals(ProjectivePoint<T1> p1, ProjectivePoint<T2> p2)
affineEqualsback to summary
public boolean affineEquals(Point p)

Implements sun.security.ec.point.Point.affineEquals.

asAffineback to summary
public AffinePoint asAffine()

Implements sun.security.ec.point.Point.asAffine.

fixedback to summary
public ProjectivePoint.Immutable fixed()

Implements sun.security.ec.point.Point.fixed.

Annotations
@Override
getFieldback to summary
public IntegerFieldModuloP getField()

Implements sun.security.ec.point.Point.getField.

Annotations
@Override
getXback to summary
public T getX()
getYback to summary
public T getY()
getZback to summary
public T getZ()
mutableback to summary
public ProjectivePoint.Mutable mutable()

Implements sun.security.ec.point.Point.mutable.

Annotations
@Override
sun.security.ec.point back to summary

public Class ProjectivePoint.Immutable

extends ProjectivePoint<ImmutableIntegerModuloP>
implements ImmutablePoint
Class Inheritance
All Implemented Interfaces
sun.security.ec.point.ImmutablePoint, sun.security.ec.point.Point

Field Summary

Inherited from sun.security.ec.point.ProjectivePoint:
xyz

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from sun.security.ec.point.ProjectivePoint:
affineEqualsasAffinefixedgetFieldgetXgetYgetZmutable

Constructor Detail

Immutableback to summary
public Immutable(ImmutableIntegerModuloP x, ImmutableIntegerModuloP y, ImmutableIntegerModuloP z)
sun.security.ec.point back to summary

public Class ProjectivePoint.Mutable

extends ProjectivePoint<MutableIntegerModuloP>
implements MutablePoint
Class Inheritance
All Implemented Interfaces
sun.security.ec.point.MutablePoint, sun.security.ec.point.Point

Field Summary

Inherited from sun.security.ec.point.ProjectivePoint:
xyz

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public ProjectivePoint.Mutable
private <T extends IntegerModuloP> ProjectivePoint.Mutable
public ProjectivePoint.Mutable
public ProjectivePoint.Mutable
private <T extends IntegerModuloP> ProjectivePoint.Mutable
Inherited from sun.security.ec.point.ProjectivePoint:
affineEqualsasAffinefixedgetFieldgetXgetYgetZmutable

Constructor Detail

Mutableback to summary
public Mutable(MutableIntegerModuloP x, MutableIntegerModuloP y, MutableIntegerModuloP z)
Mutableback to summary
public Mutable(IntegerFieldModuloP field)

Method Detail

conditionalSetback to summary
public ProjectivePoint.Mutable conditionalSet(Point p, int set)

Implements sun.security.ec.point.MutablePoint.conditionalSet.

Annotations
@Override
conditionalSetback to summary
private <T extends IntegerModuloP> ProjectivePoint.Mutable conditionalSet(ProjectivePoint<T> pp, int set)
Annotations
@ForceInline
setValueback to summary
public ProjectivePoint.Mutable setValue(AffinePoint p)

Implements sun.security.ec.point.MutablePoint.setValue.

Annotations
@Override
setValueback to summary
public ProjectivePoint.Mutable setValue(Point p)

Implements sun.security.ec.point.MutablePoint.setValue.

Annotations
@Override
setValueback to summary
private <T extends IntegerModuloP> ProjectivePoint.Mutable setValue(ProjectivePoint<T> pp)