|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bouncycastle.jce.spec.GOST3410PublicKeySpec
public class GOST3410PublicKeySpec
This class specifies a GOST3410-94 public key with its associated parameters.
Constructor Summary | |
---|---|
GOST3410PublicKeySpec(java.math.BigInteger y,
java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger a)
Creates a new GOST3410PublicKeySpec with the specified parameter values. |
Method Summary | |
---|---|
java.math.BigInteger |
getA()
Returns the base g . |
java.math.BigInteger |
getP()
Returns the prime p . |
java.math.BigInteger |
getQ()
Returns the sub-prime q . |
java.math.BigInteger |
getY()
Returns the public key y . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GOST3410PublicKeySpec(java.math.BigInteger y, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger a)
y
- the public key.p
- the prime.q
- the sub-prime.a
- the base.Method Detail |
---|
public java.math.BigInteger getY()
y
.
y
.public java.math.BigInteger getP()
p
.
p
.public java.math.BigInteger getQ()
q
.
q
.public java.math.BigInteger getA()
g
.
g
.
|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |