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 DSASignature(BigInteger r, BigInteger s)20 public DSASignature(BigInteger r, BigInteger s) 21 { 22 this.r = r; 23 this.s = s; 24 } 25 getR()26 public BigInteger getR() 27 { 28 return r; 29 } 30 getS()31 public BigInteger getS() 32 { 33 return s; 34 } 35 } 36