Name

EllipticCurve

Synopsis

This class is an immutable representation of an elliptic curve. See ECParameterSpec.

public class EllipticCurve {
// Public Constructors
     public EllipticCurve(ECField field, java.math.BigInteger a, 
        java.math.BigInteger b);  
     public EllipticCurve(ECField field, java.math.BigInteger a, 
        java.math.BigInteger b, byte[ ] seed);  
// Public Instance Methods
     public java.math.BigInteger getA( );  
     public java.math.BigInteger getB( );  
     public ECField getField( );  
     public byte[ ] getSeed( );  
// Public Methods Overriding Object
     public boolean equals(Object obj);  
     public int hashCode( );  
}

Passed To

ECParameterSpec.ECParameterSpec( )

Returned By

ECParameterSpec.getCurve( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.