Save This Page
Home » openjdk-7 » java » security » spec » [javadoc | source]
java.security.spec
public class: ECPublicKeySpec [javadoc | source]
java.lang.Object
   java.security.spec.ECPublicKeySpec

All Implemented Interfaces:
    KeySpec

This immutable class specifies an elliptic curve public key with its associated parameters.
Constructor:
 public ECPublicKeySpec(ECPoint w,
    ECParameterSpec params) 
    Creates a new ECPublicKeySpec with the specified parameter values.
    Parameters:
    w - the public point.
    params - the associated elliptic curve domain parameters.
    Throws:
    NullPointerException - if w or params is null.
    IllegalArgumentException - if w is point at infinity, i.e. ECPoint.POINT_INFINITY
    exception: NullPointerException - if w or params is null.
    exception: IllegalArgumentException - if w is point at infinity, i.e. ECPoint.POINT_INFINITY
Method from java.security.spec.ECPublicKeySpec Summary:
getParams,   getW
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.spec.ECPublicKeySpec Detail:
 public ECParameterSpec getParams() 
    Returns the associated elliptic curve domain parameters.
 public ECPoint getW() 
    Returns the public point W.