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

/system/core/libmincrypt/tools/
H A DDumpPublicKey.java48 static int checkRSA(RSAPublicKey key, boolean useSHA256) throws Exception { argument
54 version = useSHA256 ? 3 : 1;
56 version = useSHA256 ? 4 : 2;
87 static int check(PublicKey key, boolean useSHA256) throws Exception { argument
89 return checkRSA((RSAPublicKey) key, useSHA256);
91 if (!useSHA256) {
106 static String printRSA(RSAPublicKey key, boolean useSHA256) throws Exception { argument
107 int version = check(key, useSHA256);
221 static String print(PublicKey key, boolean useSHA256) throws Exception { argument
223 return printRSA((RSAPublicKey) key, useSHA256);
[all...]

Completed in 126 milliseconds