mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Added saving S/MIME public keys
This commit is contained in:
@@ -35,6 +35,10 @@ public interface DaoCertificate {
|
||||
" ORDER BY intermediate, email, subject")
|
||||
LiveData<List<EntityCertificate>> liveCertificates();
|
||||
|
||||
@Query("SELECT * FROM certificate" +
|
||||
" WHERE id = :id")
|
||||
EntityCertificate getCertificate(long id);
|
||||
|
||||
@Query("SELECT * FROM certificate" +
|
||||
" WHERE fingerprint = :fingerprint" +
|
||||
" AND email = :email COLLATE NOCASE")
|
||||
|
||||
Reference in New Issue
Block a user