public class

ECPrivateKeySpec

extends Object
implements KeySpec
java.lang.Object
   ↳ java.security.spec.ECPrivateKeySpec

Class Overview

The parameters specifying an Elliptic Curve (EC) private key.

Summary

Public Constructors
ECPrivateKeySpec(BigInteger s, ECParameterSpec params)
Creates a new ECPrivateKeySpec with the specified private value S and parameter specification.
Public Methods
ECParameterSpec getParams()
Returns the domain parameter specification.
BigInteger getS()
Returns the private value S.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ECPrivateKeySpec (BigInteger s, ECParameterSpec params)

Creates a new ECPrivateKeySpec with the specified private value S and parameter specification.

Parameters
s the private value S.
params the domain parameter specification.

Public Methods

public ECParameterSpec getParams ()

Returns the domain parameter specification.

Returns
  • the domain parameter specification.

public BigInteger getS ()

Returns the private value S.

Returns
  • the private value S.