@Test public void testDsa() throws Exception { byte[] out = SshSignatureConverter.getSshSignatureDsa(RAW_DSA_SIGNATURE); Assert.assertArrayEquals(SSH_DSA_SIGNATURE, out); }
public static byte[] getSshSignatureDsa(byte[] rawSignature) { SshEncodedData signature = new SshEncodedData(); signature.putString("ssh-dss"); signature.putString(getDsaSignatureBlob(rawSignature)); return signature.getBytes(); }
SshSignatureConverter { public static byte[] getSshSignatureDsa(byte[] rawSignature) { SshEncodedData signature = new SshEncodedData(); signature.putString("ssh-dss"); signature.putString(getDsaSignatureBlob(rawSignature)); return signature.getBytes(); } }
SshSignatureConverter { public static byte[] getSshSignatureDsa(byte[] rawSignature) { SshEncodedData signature = new SshEncodedData(); signature.putString("ssh-dss"); signature.putString(getDsaSignatureBlob(rawSignature)); return signature.getBytes(); }  }
SshSignatureConverter { public static byte[] getSshSignatureDsa(byte[] rawSignature) { SshEncodedData signature = new SshEncodedData(); signature.putString("ssh-dss"); signature.putString(getDsaSignatureBlob(rawSignature)); return signature.getBytes(); }  static byte[] getSshSignatureEdDsa(byte[] rawSignature); static byte[] getSshSignatureDsa(byte[] rawSignature); static byte[] getSshSignatureRsa(byte[] rawSignature, int hashAlgorithm); static byte[] getSshSignatureEcDsa(byte[] rawSignature, String curveOid); }
SshSignatureConverter { public static byte[] getSshSignatureDsa(byte[] rawSignature) { SshEncodedData signature = new SshEncodedData(); signature.putString("ssh-dss"); signature.putString(getDsaSignatureBlob(rawSignature)); return signature.getBytes(); }  static byte[] getSshSignatureEdDsa(byte[] rawSignature); static byte[] getSshSignatureDsa(byte[] rawSignature); static byte[] getSshSignatureRsa(byte[] rawSignature, int hashAlgorithm); static byte[] getSshSignatureEcDsa(byte[] rawSignature, String curveOid);  }