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