summaryrefslogtreecommitdiff
path: root/src/gmcerts.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-08-15 19:50:22 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-08-15 19:50:22 +0300
commit32e7104dd03357dfd2032d200c528e88656daa69 (patch)
tree11184efde581fa6edd915bd727ea852db863df1f /src/gmcerts.h
parent9d7469ded746cbfa1e86c1ecd67e4a36f29f635b (diff)
parent0cbb300784aab7c8bb6bcbcfb044a48a5f9a19ac (diff)
Merge branch 'dev' into work/v1.7
Diffstat (limited to 'src/gmcerts.h')
-rw-r--r--src/gmcerts.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gmcerts.h b/src/gmcerts.h
index 1a9480f7..02a41c14 100644
--- a/src/gmcerts.h
+++ b/src/gmcerts.h
@@ -60,9 +60,10 @@ iDeclareTypeConstructionArgs(GmCerts, const char *saveDir)
60 60
61typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *); 61typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *);
62 62
63iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, const iTlsCertificate *cert); 63iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, uint16_t port,
64void setTrusted_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, const iBlock *fingerprint, 64 const iTlsCertificate *cert);
65 const iDate *validUntil); 65void setTrusted_GmCerts (iGmCerts *, iRangecc domain, uint16_t port,
66 const iBlock *fingerprint, const iDate *validUntil);
66iTime domainValidUntil_GmCerts(const iGmCerts *, iRangecc domain, uint16_t port); 67iTime domainValidUntil_GmCerts(const iGmCerts *, iRangecc domain, uint16_t port);
67 68
68/** 69/**
@@ -81,7 +82,8 @@ iGmIdentity * newIdentity_GmCerts (iGmCerts *, int flags, iDate validU
81 const iString *userId, const iString *domain, 82 const iString *userId, const iString *domain,
82 const iString *org, const iString *country); 83 const iString *org, const iString *country);
83 84
84void importIdentity_GmCerts (iGmCerts *, iTlsCertificate *cert, const iString *notes); /* takes ownership */ 85void importIdentity_GmCerts (iGmCerts *, iTlsCertificate *cert,
86 const iString *notes); /* takes ownership */
85void deleteIdentity_GmCerts (iGmCerts *, iGmIdentity *identity); 87void deleteIdentity_GmCerts (iGmCerts *, iGmIdentity *identity);
86void saveIdentities_GmCerts (const iGmCerts *); 88void saveIdentities_GmCerts (const iGmCerts *);
87 89