Package java.security.spec
Class ECPrivateKeySpec
- java.lang.Object
-
- java.security.spec.ECPrivateKeySpec
-
-
Constructor Summary
Constructors Constructor Description ECPrivateKeySpec(BigInteger s, ECParameterSpec params)Creates a newECPrivateKeySpecwith the specified private valueSand parameter specification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECParameterSpecgetParams()Returns the domain parameter specification.BigIntegergetS()Returns the private valueS.
-
-
-
Constructor Detail
-
ECPrivateKeySpec
public ECPrivateKeySpec(BigInteger s, ECParameterSpec params)
Creates a newECPrivateKeySpecwith the specified private valueSand parameter specification.- Parameters:
s- the private valueS.params- the domain parameter specification.
-
-
Method Detail
-
getParams
public ECParameterSpec getParams()
Returns the domain parameter specification.- Returns:
- the domain parameter specification.
-
getS
public BigInteger getS()
Returns the private valueS.- Returns:
- the private value
S.
-
-