Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 the private value S .
params the domain parameter specification.

Public Methods

public ECParameterSpec getParams ()

Added in API level 1

Returns the domain parameter specification.

Returns
  • the domain parameter specification.

public BigInteger getS ()

Added in API level 1

Returns the private value S .

Returns
  • the private value S .