We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 996778e + 2fa6afe commit 874c6b0Copy full SHA for 874c6b0
src/BearSSLClient.cpp
@@ -205,6 +205,11 @@ void BearSSLClient::setEccSign(br_ecdsa_sign sign)
205
_ecSign = sign;
206
}
207
208
+void BearSSLClient::setEccCert(br_x509_certificate cert)
209
+{
210
+ _ecCert = cert;
211
+}
212
+
213
void BearSSLClient::setEccSlot(int ecc508KeySlot, const byte cert[], int certLength)
214
{
215
// HACK: put the key slot info. in the br_ec_private_key structure
src/BearSSLClient.h
@@ -74,6 +74,8 @@ class BearSSLClient : public Client {
74
void setEccVrfy(br_ecdsa_vrfy vrfy);
75
void setEccSign(br_ecdsa_sign sign);
76
77
+ void setEccCert(br_x509_certificate cert);
78
79
void setEccSlot(int ecc508KeySlot, const byte cert[], int certLength);
80
void setEccSlot(int ecc508KeySlot, const char cert[]);
81
0 commit comments