Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.spec.ECPrivateKeySpec
public class ECPrivateKeySpec extends Object implements KeySpec
This immutable class specifies an elliptic curve private key with its associated parameters.
KeySpec
,
ECParameterSpec
Constructor and Description |
---|
ECPrivateKeySpec(BigInteger s,
ECParameterSpec params)
Creates a new ECPrivateKeySpec with the specified parameter values. |
Modifier and Type | Method and Description |
---|---|
ECParameterSpec |
getParams()
Returns the associated elliptic curve domain parameters. |
BigInteger |
getS()
Returns the private value S. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ECPrivateKeySpec(BigInteger s, ECParameterSpec params)
s
- the private value.params
- the associated elliptic curve domain
parameters.NullPointerException
- if s
or params
is null.Method Detail |
---|
public BigInteger getS()
public ECParameterSpec getParams()
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.