-
-
-
-
35 bool fingerprintToBytes(
const std::string& fingerprint, uint8_t* bytes, uint8_t bytesLen)
const;
-
-
-
44 virtual bool setup(WiFiClientSecure* client,
const std::string& fingerprint);
-
-
51 virtual bool verify(WiFiClientSecure* client)
const;
-
+
+
+
14#include <WiFiClientSecure.h>
+
+
+
+
+
+
+
+
34 bool fingerprintToBytes(
const std::string& fingerprint, uint8_t* bytes, uint8_t bytesLen)
const;
+
+
+
43 virtual bool setup(WiFiClientSecure* client,
const std::string& fingerprint);
+
+
50 virtual bool verify(WiFiClientSecure* client)
const;
+
-
-
-
-
-
-
58 uint8_t fingerprintBytes[32];
-
-
-
70 bool setup(WiFiClientSecure* client,
const std::string& fingerprint)
override;
-
-
77 bool verify(WiFiClientSecure* client)
const override;
-
-
-
80 using ksCertFingerprintHolder = ksCertFingerprintESP32;
-
-
-
-
84 class ksCertFingerprintESP8266 :
public ksCertFingerprint
-
-
-
93 bool setup(WiFiClientSecure* client,
const std::string& fingerprint)
override;
-
-
103 bool verify(WiFiClientSecure* client)
const override;
-
-
-
106 using ksCertFingerprintHolder = ksCertFingerprintESP8266;
-
-
-
Interface for certificate fingerprint verification.
Definition ksCertUtils.h:26
+
+
+
+
+
+
57 uint8_t fingerprintBytes[32];
+
+
+
69 bool setup(WiFiClientSecure* client,
const std::string& fingerprint)
override;
+
+
76 bool verify(WiFiClientSecure* client)
const override;
+
+
+
79 using ksCertFingerprintHolder = ksCertFingerprintESP32;
+
+
+
+
83 class ksCertFingerprintESP8266 :
public ksCertFingerprint
+
+
+
92 bool setup(WiFiClientSecure* client,
const std::string& fingerprint)
override;
+
+
102 bool verify(WiFiClientSecure* client)
const override;
+
+
+
105 using ksCertFingerprintHolder = ksCertFingerprintESP8266;
+
+
+
Interface for certificate fingerprint verification.
Definition ksCertUtils.h:25
bool fingerprintToBytes(const std::string &fingerprint, uint8_t *bytes, uint8_t bytesLen) const
Converts fingerprint string into array of bytes.
Definition ksCertUtils.cpp:33
virtual bool verify(WiFiClientSecure *client) const
Performs certificate fingerprint validation (platform dependent).
virtual bool setup(WiFiClientSecure *client, const std::string &fingerprint)
Performs certificate fingerprint setup (platform dependent).