| 1287 | |
| 1288 | |
| 1289 | Certificate::Certificate(const x509* cert) : cert_(cert) |
| 1290 | { |
| 1291 | if (cert) |
| 1292 | set_length(cert_->get_length() + 2 * CERT_HEADER); // list and cert size |
| 1293 | else |
| 1294 | set_length(CERT_HEADER); // total blank cert size, just list header |
| 1295 | } |
| 1296 | |
| 1297 | |
| 1298 | const opaque* Certificate::get_buffer() const |
nothing calls this directly
no test coverage detected