MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / Certificate

Method Certificate

extra/yassl/src/yassl_imp.cpp:1289–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1287
1288
1289Certificate::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
1298const opaque* Certificate::get_buffer() const

Callers

nothing calls this directly

Calls 1

get_lengthMethod · 0.45

Tested by

no test coverage detected