Top Description Fields Constructors Methods
org.bouncycastle.jcajce.spec

public Class DSTU4145PrivateKeySpec

extends Object
implements KeySpec
Class Inheritance
All Implemented Interfaces
java.security.spec.KeySpec
Imports
java.math.BigInteger, java.security.spec.KeySpec

This class specifies a DSTU4145 private key with its associated parameters.

Field Summary

Modifier and TypeField and Description
private final DSTU4145ParameterSpec
private final BigInteger
s

Constructor Summary

AccessConstructor and Description
public
DSTU4145PrivateKeySpec(BigInteger
the private key.
s
,
DSTU4145ParameterSpec parameters)

Creates a new GOST3410PrivateKeySpec with the specified parameter values.

Method Summary

Modifier and TypeMethod and Description
public DSTU4145ParameterSpec
public BigInteger

Returns:

the private key s.
getS
()

Returns the private key value s.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parametersback to summary
private final DSTU4145ParameterSpec parameters
sback to summary
private final BigInteger s

Constructor Detail

DSTU4145PrivateKeySpecback to summary
public DSTU4145PrivateKeySpec(BigInteger s, DSTU4145ParameterSpec parameters)

Creates a new GOST3410PrivateKeySpec with the specified parameter values.

Parameters
s:BigInteger

the private key.

Method Detail

getParamsback to summary
public DSTU4145ParameterSpec getParams()
getSback to summary
public BigInteger getS()

Returns the private key value s.

Returns:BigInteger

the private key s.