1 package ch.ethz.ssh2.signature; 2 3 import java.math.BigInteger ; 4 5 11 public class DSAPublicKey 12 { 13 private BigInteger p; 14 private BigInteger q; 15 private BigInteger g; 16 private BigInteger y; 17 18 public DSAPublicKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y) 19 { 20 this.p = p; 21 this.q = q; 22 this.g = g; 23 this.y = y; 24 } 25 26 public BigInteger getP() 27 { 28 return p; 29 } 30 31 public BigInteger getQ() 32 { 33 return q; 34 } 35 36 public BigInteger getG() 37 { 38 return g; 39 } 40 41 public BigInteger getY() 42 { 43 return y; 44 } 45 } | Popular Tags |