summaryrefslogtreecommitdiff
path: root/src/gmcerts.h
diff options
context:
space:
mode:
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