Searched refs:useSHA256 (Results 1 – 1 of 1) sorted by relevance
48 static int checkRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in checkRSA() argument54 version = useSHA256 ? 3 : 1; in checkRSA()56 version = useSHA256 ? 4 : 2; in checkRSA()87 static int check(PublicKey key, boolean useSHA256) throws Exception { in check() argument89 return checkRSA((RSAPublicKey) key, useSHA256); in check()91 if (!useSHA256) { in check()106 static String printRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in printRSA() argument107 int version = check(key, useSHA256); in printRSA()221 static String print(PublicKey key, boolean useSHA256) throws Exception { in print() argument223 return printRSA((RSAPublicKey) key, useSHA256); in print()[all …]