aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/trilead/ssh2/signature/DSAPublicKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/trilead/ssh2/signature/DSAPublicKey.java')
-rw-r--r--src/com/trilead/ssh2/signature/DSAPublicKey.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/com/trilead/ssh2/signature/DSAPublicKey.java b/src/com/trilead/ssh2/signature/DSAPublicKey.java
new file mode 100644
index 0000000..f8351ff
--- /dev/null
+++ b/src/com/trilead/ssh2/signature/DSAPublicKey.java
@@ -0,0 +1,45 @@
+package com.trilead.ssh2.signature;
+
+import java.math.BigInteger;
+
+/**
+ * DSAPublicKey.
+ *
+ * @author Christian Plattner, plattner@trilead.com
+ * @version $Id: DSAPublicKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
+ */
+public class DSAPublicKey
+{
+ private BigInteger p;
+ private BigInteger q;
+ private BigInteger g;
+ private BigInteger y;
+
+ public DSAPublicKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y)
+ {
+ this.p = p;
+ this.q = q;
+ this.g = g;
+ this.y = y;
+ }
+
+ public BigInteger getP()
+ {
+ return p;
+ }
+
+ public BigInteger getQ()
+ {
+ return q;
+ }
+
+ public BigInteger getG()
+ {
+ return g;
+ }
+
+ public BigInteger getY()
+ {
+ return y;
+ }
+} \ No newline at end of file