diff options
Diffstat (limited to 'src/gmcerts.h')
-rw-r--r-- | src/gmcerts.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gmcerts.h b/src/gmcerts.h index 04904d51..37419b9e 100644 --- a/src/gmcerts.h +++ b/src/gmcerts.h | |||
@@ -32,6 +32,7 @@ iDeclareTypeSerialization(GmIdentity) | |||
32 | 32 | ||
33 | enum iGmIdentityFlags { | 33 | enum iGmIdentityFlags { |
34 | temporary_GmIdentityFlag = 0x1, /* not saved persistently */ | 34 | temporary_GmIdentityFlag = 0x1, /* not saved persistently */ |
35 | imported_GmIdentityFlag = 0x2, /* user-provided files */ | ||
35 | }; | 36 | }; |
36 | 37 | ||
37 | struct Impl_GmIdentity { | 38 | struct Impl_GmIdentity { |
@@ -56,8 +57,6 @@ iDeclareTypeConstructionArgs(GmCerts, const char *saveDir) | |||
56 | 57 | ||
57 | iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, const iTlsCertificate *cert); | 58 | iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, const iTlsCertificate *cert); |
58 | 59 | ||
59 | const iGmIdentity * identityForUrl_GmCerts (const iGmCerts *, const iString *url); | ||
60 | |||
61 | /** | 60 | /** |
62 | * Create a new self-signed TLS client certificate for identifying the user. | 61 | * Create a new self-signed TLS client certificate for identifying the user. |
63 | * @a commonName and the other name parameters are inserted in the subject field | 62 | * @a commonName and the other name parameters are inserted in the subject field |
@@ -74,4 +73,9 @@ iGmIdentity * newIdentity_GmCerts (iGmCerts *, int flags, iDate validU | |||
74 | const iString *domain, const iString *org, | 73 | const iString *domain, const iString *org, |
75 | const iString *country); | 74 | const iString *country); |
76 | 75 | ||
76 | void deleteIdentity_GmCerts (iGmCerts *, iGmIdentity *identity); | ||
77 | |||
78 | iGmIdentity * identity_GmCerts (iGmCerts *, unsigned int id); | ||
79 | const iGmIdentity * constIdentity_GmCerts (const iGmCerts *, unsigned int id); | ||
80 | const iGmIdentity * identityForUrl_GmCerts (const iGmCerts *, const iString *url); | ||
77 | const iPtrArray * identities_GmCerts (const iGmCerts *); | 81 | const iPtrArray * identities_GmCerts (const iGmCerts *); |