| 90 | } |
| 91 | |
| 92 | void 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 | |
| 108 | bool BrClientConnection::endChain() |
| 109 | { |
no test coverage detected