|
Java™ Platform Standard Ed. 6 |
|||||||||
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
This immutable class specifies an elliptic curve private key with its associated parameters.
KeySpec
,
ECParameterSpec
Constructor Summary | |
---|---|
ECPrivateKeySpec(BigInteger s,
ECParameterSpec params)
Creates a new ECPrivateKeySpec with the specified parameter values. |
Method Summary | |
---|---|
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. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.