Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/signature/DSAPublicKey.java @ 273:91a31873c42a ganymed
start conversion from trilead to ganymed
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 18 Jul 2014 11:21:46 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
272:ce2f4e397703 | 273:91a31873c42a |
---|---|
1 /* | |
2 * Copyright (c) 2006-2011 Christian Plattner. All rights reserved. | |
3 * Please refer to the LICENSE.txt for licensing details. | |
4 */ | |
5 package ch.ethz.ssh2.signature; | |
6 | |
7 import java.math.BigInteger; | |
8 | |
9 /** | |
10 * DSAPublicKey. | |
11 * | |
12 * @author Christian Plattner | |
13 * @version 2.50, 03/15/10 | |
14 */ | |
15 public class DSAPublicKey | |
16 { | |
17 private BigInteger p; | |
18 private BigInteger q; | |
19 private BigInteger g; | |
20 private BigInteger y; | |
21 | |
22 public DSAPublicKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y) | |
23 { | |
24 this.p = p; | |
25 this.q = q; | |
26 this.g = g; | |
27 this.y = y; | |
28 } | |
29 | |
30 public BigInteger getP() | |
31 { | |
32 return p; | |
33 } | |
34 | |
35 public BigInteger getQ() | |
36 { | |
37 return q; | |
38 } | |
39 | |
40 public BigInteger getG() | |
41 { | |
42 return g; | |
43 } | |
44 | |
45 public BigInteger getY() | |
46 { | |
47 return y; | |
48 } | |
49 } |