1 7 8 package java.security.spec; 9 10 import java.math.BigInteger ; 11 12 27 28 public class DSAPublicKeySpec implements KeySpec { 29 30 private BigInteger y; 31 private BigInteger p; 32 private BigInteger q; 33 private BigInteger g; 34 35 46 public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, 47 BigInteger g) { 48 this.y = y; 49 this.p = p; 50 this.q = q; 51 this.g = g; 52 } 53 54 59 public BigInteger getY() { 60 return this.y; 61 } 62 63 68 public BigInteger getP() { 69 return this.p; 70 } 71 72 77 public BigInteger getQ() { 78 return this.q; 79 } 80 81 86 public BigInteger getG() { 87 return this.g; 88 } 89 } 90 | Popular Tags |