MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / verify

Method verify

dds/DCPS/security/SSL/SignedDocument.cpp:233–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 operator bool() const { return doc_; }
232
233 bool verify(const StackOfX509* certs,
234 const X509Store* store,
235 const Bio& indata,
236 const Bio& outdata,
237 int flags)
238 {
239 if (PKCS7_verify(doc_, certs ? certs->certs() : 0, store ? store->store() : 0,
240 indata.bio(), outdata.bio(), flags) != 1) {
241 OPENDDS_SSL_LOG_ERR("SMIME_read_PKCS7 failed");
242 return false;
243 }
244
245 return true;
246 }
247
248private:
249 // No copy.

Callers

nothing calls this directly

Calls 3

certsMethod · 0.80
bioMethod · 0.80
storeMethod · 0.45

Tested by

no test coverage detected