|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.spec.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_INFINITYMethod Detail |
---|
public ECPoint getW()
public ECParameterSpec getParams()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.