Home
last modified time | relevance | path

Searched refs:useSHA256 (Results 1 – 1 of 1) sorted by relevance

/system/core/libmincrypt/tools/
DDumpPublicKey.java48 static int checkRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in checkRSA() argument
54 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() argument
89 return checkRSA((RSAPublicKey) key, useSHA256); in check()
91 if (!useSHA256) { in check()
106 static String printRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in printRSA() argument
107 int version = check(key, useSHA256); in printRSA()
221 static String print(PublicKey key, boolean useSHA256) throws Exception { in print() argument
223 return printRSA((RSAPublicKey) key, useSHA256); in print()
[all …]