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

public Class GOST3410PublicKeySpec

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 public key with its associated parameters.

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
GOST3410PublicKeySpec(BigInteger
the public key.
y
,
GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters)

Creates a new GOST3410PublicKeySpec with the specified parameter values.

Method Summary

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

Returns:

the public key y.
getY
()

Returns the public key y.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parametersback to summary
private final GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters
yback to summary
private final BigInteger y

Constructor Detail

GOST3410PublicKeySpecback to summary
public GOST3410PublicKeySpec(BigInteger y, GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters)

Creates a new GOST3410PublicKeySpec with the specified parameter values.

Parameters
y:BigInteger

the public key.

Method Detail

getParamsback to summary
public GOST3410ParameterSpec<GOST3410DomainParameterSpec> getParams()
getYback to summary
public BigInteger getY()

Returns the public key y.

Returns:BigInteger

the public key y.