@Test
public void testGetSignatureAlgorithmRSA() {

    try {
        assertEquals(Crypto.getSignatureAlgorithm("RSA"), "SHA256withRSA");
        assertEquals(Crypto.getSignatureAlgorithm("RSA", "SHA256"), "SHA256withRSA");
        assertEquals(Crypto.getSignatureAlgorithm("RSA", "SHA1"), "SHA1withRSA");
    } catch (NoSuchAlgorithmException e) {
        fail();
    }
}