Package java.security.spec
Class ECPublicKeySpec
- java.lang.Object
-
- java.security.spec.ECPublicKeySpec
-
-
Constructor Summary
Constructors Constructor Description ECPublicKeySpec(ECPoint w, ECParameterSpec params)Creates a newECPublicKeywith the specified public elliptic curve point and parameter specification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECParameterSpecgetParams()Returns the domain parameter specification.ECPointgetW()Returns the public elliptic curve pointW.
-
-
-
Constructor Detail
-
ECPublicKeySpec
public ECPublicKeySpec(ECPoint w, ECParameterSpec params)
Creates a newECPublicKeywith the specified public elliptic curve point and parameter specification.- Parameters:
w- the public elliptic curve pointW.params- the domain parameter specification.- Throws:
IllegalArgumentException- if the specified pointWis at infinity.
-
-
Method Detail
-
getParams
public ECParameterSpec getParams()
Returns the domain parameter specification.- Returns:
- the domain parameter specification.
-
getW
public ECPoint getW()
Returns the public elliptic curve pointW.- Returns:
- the public elliptic curve point
W.
-
-