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

public Class ECGOST3410PrivateKeySpec

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 ECGOST3410-94 private key with its associated parameters.

Field Summary

Modifier and TypeField and Description
private final GOST3410ParameterSpec<ECDomainParameterSpec>
private final BigInteger
s

Constructor Summary

AccessConstructor and Description
public
ECGOST3410PrivateKeySpec(BigInteger
the private key.
s
,
GOST3410ParameterSpec<ECDomainParameterSpec> parameters)

Creates a new GOST3410PrivateKeySpec with the specified parameter values.

Method Summary

Modifier and TypeMethod and Description
public GOST3410ParameterSpec<ECDomainParameterSpec>
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 GOST3410ParameterSpec<ECDomainParameterSpec> parameters
sback to summary
private final BigInteger s

Constructor Detail

ECGOST3410PrivateKeySpecback to summary
public ECGOST3410PrivateKeySpec(BigInteger s, GOST3410ParameterSpec<ECDomainParameterSpec> parameters)

Creates a new GOST3410PrivateKeySpec with the specified parameter values.

Parameters
s:BigInteger

the private key.

Method Detail

getParamsback to summary
public GOST3410ParameterSpec<ECDomainParameterSpec> getParams()
getSback to summary
public BigInteger getS()

Returns the private key value s.

Returns:BigInteger

the private key s.