1 7 8 package java.security.spec; 9 10 import java.math.BigInteger ; 11 12 27 28 public class DSAPrivateKeySpec implements KeySpec { 29 30 private BigInteger x; 31 private BigInteger p; 32 private BigInteger q; 33 private BigInteger g; 34 35 46 public DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, 47 BigInteger g) { 48 this.x = x; 49 this.p = p; 50 this.q = q; 51 this.g = g; 52 } 53 54 59 public BigInteger getX() { 60 return this.x; 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 |