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

All Implemented Interfaces:
    KeySpec

This immutable class specifies an elliptic curve private key with its associated parameters.
Constructor:
 public ECPrivateKeySpec(BigInteger s,
    ECParameterSpec params) 
    Creates a new ECPrivateKeySpec with the specified parameter values.
    Parameters:
    s - the private value.
    params - the associated elliptic curve domain parameters.
    Throws:
    NullPointerException - if s or params is null.
    exception: NullPointerException - if s or params is null.
Method from java.security.spec.ECPrivateKeySpec Summary:
getParams,   getS
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.spec.ECPrivateKeySpec Detail:
 public ECParameterSpec getParams() 
    Returns the associated elliptic curve domain parameters.
 public BigInteger getS() 
    Returns the private value S.