Check S/MIME key validity

This commit is contained in:
M66B
2019-12-06 11:32:41 +01:00
parent af8e36e23e
commit 8dd9c62365
11 changed files with 2234 additions and 98 deletions

View File

@@ -1069,11 +1069,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
for (String email : emails) {
EntityCertificate record = db.certificate().getCertificate(fingerprint, email);
if (record == null) {
record = new EntityCertificate();
record.fingerprint = fingerprint;
record.email = email;
record.subject = subject;
record.setCertificate(cert);
record = EntityCertificate.from(cert, email);
record.id = db.certificate().insertCertificate(record);
}
}