Package org.bouncycastle.jcajce.spec
Class ECGOST3410PrivateKeySpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.ECGOST3410PrivateKeySpec
-
- All Implemented Interfaces:
java.security.spec.KeySpec
public class ECGOST3410PrivateKeySpec extends java.lang.Object implements java.security.spec.KeySpec
This class specifies a ECGOST3410-94 private key with its associated parameters.
-
-
Constructor Summary
Constructors Constructor Description ECGOST3410PrivateKeySpec(java.math.BigInteger s, GOST3410ParameterSpec<ECDomainParameterSpec> parameters)
Creates a new GOST3410PrivateKeySpec with the specified parameter values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GOST3410ParameterSpec<ECDomainParameterSpec>
getParams()
java.math.BigInteger
getS()
Returns the private key values
.
-
-
-
Constructor Detail
-
ECGOST3410PrivateKeySpec
public ECGOST3410PrivateKeySpec(java.math.BigInteger s, GOST3410ParameterSpec<ECDomainParameterSpec> parameters)
Creates a new GOST3410PrivateKeySpec with the specified parameter values.- Parameters:
s
- the private key.
-
-
Method Detail
-
getParams
public GOST3410ParameterSpec<ECDomainParameterSpec> getParams()
-
getS
public java.math.BigInteger getS()
Returns the private key values
.- Returns:
- the private key
s
.
-
-