Android APIs
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)

Added in API level 1

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

Parameters
s BigInteger: the private value S.
params ECParameterSpec: the domain parameter specification.

Public Methods

public ECParameterSpec getParams ()

Added in API level 1

Returns the domain parameter specification.

Returns
ECParameterSpec the domain parameter specification.

public BigInteger getS ()

Added in API level 1

Returns the private value S.

Returns
BigInteger the private value S.