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

Method convert

app/src/main/java/org/minidns/dane/DaneVerifier.java:271–279  ·  view source on GitHub ↗
(Certificate[] certificates)

Source from the content-addressed store, hash-verified

269 }
270
271 private static X509Certificate[] convert(Certificate[] certificates) {
272 List<X509Certificate> certs = new ArrayList<>();
273 for (Certificate certificate : certificates) {
274 if (certificate instanceof X509Certificate) {
275 certs.add((X509Certificate) certificate);
276 }
277 }
278 return certs.toArray(new X509Certificate[certs.size()]);
279 }
280}

Callers 2

verifyMethod · 0.95
verifiedConnectMethod · 0.95

Calls 3

toArrayMethod · 0.80
sizeMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected