コード例 #1
0
 @DSComment("Private Method")
 @DSBan(DSCat.PRIVATE_METHOD)
 @DSGenerator(
     tool_name = "Doppelganger",
     tool_version = "2.0",
     generated_on = "2013-12-30 12:32:41.983 -0500",
     hash_original_method = "017AD119A16DE91023E8FE76067DD440",
     hash_generated_method = "53FF7207D2372C3B91C46E1EF3C573FA")
 private String[] getKeyStrengthList() {
   return CertTool.getKeyStrengthList();
 }
コード例 #2
0
 @DSComment("Private Method")
 @DSBan(DSCat.PRIVATE_METHOD)
 @DSGenerator(
     tool_name = "Doppelganger",
     tool_version = "2.0",
     generated_on = "2013-12-30 12:32:41.986 -0500",
     hash_original_method = "A59843A23C4CF1F3FD140F676EC35D8E",
     hash_generated_method = "20C50B3A68FF077FC0E66FC1B4666469")
 private synchronized String getSignedPublicKey(int index, String challenge, String url) {
   WebView current = sCurrentMainWebView.get();
   if (current != null) {
     // generateKeyPair expects organizations which we don't have. Ignore
     // url.
     return CertTool.getSignedPublicKey(current.getContext(), index, challenge);
   } else {
     Log.e(LOGTAG, "There is no active WebView for getSignedPublicKey");
     return "";
   }
 }