    @Test
    public void testGenerateKey()throws Exception
    {

       Map<String, Object> keys= RSAUtils.getKeys();
        RSAPublicKey rsaPublicKey=(RSAPublicKey)keys.get("public");
        System.out.println(rsaPublicKey.getAlgorithm());
        System.out.println(rsaPublicKey.toString());
    }