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

public Class GOST3410PrivateKeySpec

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

Field Summary

Modifier and TypeField and Description
private final GOST3410ParameterSpec<GOST3410DomainParameterSpec>
private final BigInteger
x

Constructor Summary

AccessConstructor and Description
public
GOST3410PrivateKeySpec(BigInteger
the private key.
x
,
GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters)

Creates a new GOST3410PrivateKeySpec with the specified parameter values.

Method Summary

Modifier and TypeMethod and Description
public GOST3410ParameterSpec<GOST3410DomainParameterSpec>
public BigInteger

Returns:

the private key x.
getX
()

Returns the private key x.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parametersback to summary
private final GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters
xback to summary
private final BigInteger x

Constructor Detail

GOST3410PrivateKeySpecback to summary
public GOST3410PrivateKeySpec(BigInteger x, GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters)

Creates a new GOST3410PrivateKeySpec with the specified parameter values.

Parameters
x:BigInteger

the private key.

Method Detail

getParamsback to summary
public GOST3410ParameterSpec<GOST3410DomainParameterSpec> getParams()
getXback to summary
public BigInteger getX()

Returns the private key x.

Returns:BigInteger

the private key x.