MCPcopy Create free account
hub / github.com/M66B/FairEmail / hasPgpKey

Method hasPgpKey

app/src/main/java/eu/faircode/email/PgpHelper.java:76–78  ·  view source on GitHub ↗
(Context context, List<Address> recipients, boolean all)

Source from the content-addressed store, hash-verified

74 }
75
76 static boolean hasPgpKey(Context context, List<Address> recipients, boolean all) {
77 return hasPgpKey(context, recipients, all, KEY_TIMEOUT); // milliseconds
78 }
79
80 private static boolean hasPgpKey(Context context, List<Address> recipients, boolean all, long timeout) {
81 if (recipients == null || recipients.size() == 0)

Callers 2

onExecuteMethod · 0.95
runMethod · 0.95

Calls 5

getAddressMethod · 0.95
executeMethod · 0.95
wMethod · 0.95
sizeMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected