to top
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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.