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