01: package ch.ethz.ssh2.signature;
02:
03: import java.math.BigInteger;
04:
05: /**
06: * DSAPublicKey.
07: *
08: * @author Christian Plattner, plattner@inf.ethz.ch
09: * @version $Id: DSAPublicKey.java,v 1.1 2005/05/26 14:53:30 cplattne Exp $
10: */
11: public class DSAPublicKey {
12: private BigInteger p;
13: private BigInteger q;
14: private BigInteger g;
15: private BigInteger y;
16:
17: public DSAPublicKey(BigInteger p, BigInteger q, BigInteger g,
18: BigInteger y) {
19: this .p = p;
20: this .q = q;
21: this .g = g;
22: this .y = y;
23: }
24:
25: public BigInteger getP() {
26: return p;
27: }
28:
29: public BigInteger getQ() {
30: return q;
31: }
32:
33: public BigInteger getG() {
34: return g;
35: }
36:
37: public BigInteger getY() {
38: return y;
39: }
40: }
|