mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Store received public keys
This commit is contained in:
@@ -34,7 +34,11 @@ public interface DaoCertificate {
|
||||
|
||||
@Query("SELECT * FROM certificate" +
|
||||
" WHERE subject = :subject")
|
||||
EntityCertificate getCertificate(String subject);
|
||||
EntityCertificate getCertificateBySubject(String subject);
|
||||
|
||||
@Query("SELECT * FROM certificate" +
|
||||
" WHERE email = :email")
|
||||
List<EntityCertificate> getCertificateByEmail(String email);
|
||||
|
||||
@Insert
|
||||
long insertCertificate(EntityCertificate certificate);
|
||||
|
||||
Reference in New Issue
Block a user