|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.spec.ECPublicKeySpec
public class ECPublicKeySpec
This immutable class specifies an elliptic curve public key with its associated parameters.
KeySpec,
ECPoint,
ECParameterSpec| Constructor Summary | |
|---|---|
ECPublicKeySpec(ECPoint w,
ECParameterSpec params)
Creates a new ECPublicKeySpec with the specified parameter values. |
|
| Method Summary | |
|---|---|
ECParameterSpec |
getParams()
Returns the associated elliptic curve domain parameters. |
ECPoint |
getW()
Returns the public point W. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ECPublicKeySpec(ECPoint w,
ECParameterSpec params)
w - the public point.params - the associated elliptic curve domain
parameters.
NullPointerException - if w
or params is null.
IllegalArgumentException - if w
is point at infinity, i.e. ECPoint.POINT_INFINITY| Method Detail |
|---|
public ECPoint getW()
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 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.