Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/signature/DSASignature.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 * DSASignature. | |
11 * | |
12 * @author Christian Plattner | |
13 * @version 2.50, 03/15/10 | |
14 */ | |
15 public class DSASignature | |
16 { | |
17 private BigInteger r; | |
18 private BigInteger s; | |
19 | |
20 public DSASignature(BigInteger r, BigInteger s) | |
21 { | |
22 this.r = r; | |
23 this.s = s; | |
24 } | |
25 | |
26 public BigInteger getR() | |
27 { | |
28 return r; | |
29 } | |
30 | |
31 public BigInteger getS() | |
32 { | |
33 return s; | |
34 } | |
35 } |