MCPcopy Create free account
hub / github.com/SmingHub/Sming / endCert

Method endCert

Sming/Components/ssl/BearSsl/BrClientConnection.cpp:92–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void BrClientConnection::endCert()
93{
94 if(x509.count() != 0) {
95 return;
96 }
97
98 assert(certificate);
99
100 publicKey = x509Decoder->getPublicKey();
101
102 getCalculatedFingerprint(certificate->fpCertSha1, certSha1Context);
103 getCalculatedFingerprint(certificate->fpCertSha256, certSha256Context);
104
105 x509Decoder.reset();
106}
107
108bool BrClientConnection::endChain()
109{

Callers 1

end_certMethod · 0.80

Calls 4

getCalculatedFingerprintFunction · 0.85
countMethod · 0.45
getPublicKeyMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected