public final class ECPublicKeySpec extends ECPublicKeySpec
ECKeyPairGenerator
,
ECKey
,
ECPrivateKey
,
ECPrivateKeySpec
,
ECPublicKey
Constructor and Description |
---|
ECPublicKeySpec(ECPoint w,
ECParameterSpec params)
Constructs a new instance.
|
ECPublicKeySpec(ECPublicKeySpec key)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
ECParameterSpec |
getParams() |
getW
public ECPublicKeySpec(ECPoint w, ECParameterSpec params)
w
- the public keyparams
- the domain parameterspublic ECPublicKeySpec(ECPublicKeySpec key) throws InvalidCurveParameterSpecException
key
- the JDK public key specInvalidCurveParameterSpecException
- if the curve parameters validation failedpublic ECParameterSpec getParams()
getParams
in class ECPublicKeySpec
Copyright © 2011–2022 Stiftung SIC. All rights reserved.