summaryrefslogtreecommitdiff
path: root/src/gmrequest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmrequest.h')
-rw-r--r--src/gmrequest.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gmrequest.h b/src/gmrequest.h
index 311b9ad6..31059a44 100644
--- a/src/gmrequest.h
+++ b/src/gmrequest.h
@@ -31,10 +31,11 @@ iDeclareType(GmCerts)
31iDeclareType(GmResponse) 31iDeclareType(GmResponse)
32 32
33enum iGmCertFlags { 33enum iGmCertFlags {
34 available_GmCertFlag = iBit(1), /* certificate provided by server */ 34 available_GmCertFlag = iBit(1), /* certificate provided by server */
35 trusted_GmCertFlag = iBit(2), /* TOFU status */ 35 trusted_GmCertFlag = iBit(2), /* TOFU status */
36 timeVerified_GmCertFlag = iBit(3), /* has not expired */ 36 timeVerified_GmCertFlag = iBit(3), /* has not expired */
37 domainVerified_GmCertFlag = iBit(4), /* cert matches server domain */ 37 domainVerified_GmCertFlag = iBit(4), /* cert matches server domain */
38 haveFingerprint_GmCertFlag = iBit(5),
38}; 39};
39 40
40struct Impl_GmResponse { 41struct Impl_GmResponse {
@@ -42,6 +43,7 @@ struct Impl_GmResponse {
42 iString meta; /* MIME type or other metadata */ 43 iString meta; /* MIME type or other metadata */
43 iBlock body; 44 iBlock body;
44 int certFlags; 45 int certFlags;
46 iBlock certFingerprint;
45 iDate certValidUntil; 47 iDate certValidUntil;
46 iString certSubject; 48 iString certSubject;
47 iTime when; 49 iTime when;