Package org.bouncycastle.jcajce.spec
Class GOST3410PublicKeySpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.GOST3410PublicKeySpec
-
- All Implemented Interfaces:
java.security.spec.KeySpec
public class GOST3410PublicKeySpec extends java.lang.Object implements java.security.spec.KeySpec
This class specifies a GOST3410-94 public key with its associated parameters.
-
-
Constructor Summary
Constructors Constructor Description GOST3410PublicKeySpec(java.math.BigInteger y, GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters)
Creates a new GOST3410PublicKeySpec with the specified parameter values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GOST3410ParameterSpec<GOST3410DomainParameterSpec>
getParams()
java.math.BigInteger
getY()
Returns the public keyy
.
-
-
-
Constructor Detail
-
GOST3410PublicKeySpec
public GOST3410PublicKeySpec(java.math.BigInteger y, GOST3410ParameterSpec<GOST3410DomainParameterSpec> parameters)
Creates a new GOST3410PublicKeySpec with the specified parameter values.- Parameters:
y
- the public key.
-
-
Method Detail
-
getY
public java.math.BigInteger getY()
Returns the public keyy
.- Returns:
- the public key
y
.
-
getParams
public GOST3410ParameterSpec<GOST3410DomainParameterSpec> getParams()
-
-