MCPcopy Create free account
hub / github.com/apple/foundationdb / valid

Method valid

flow/MkCert.cpp:74–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 std::shared_ptr<X509> cert;
73 PrivateKey privateKey;
74 bool valid() const noexcept { return cert && privateKey; }
75 // self-signed cert case
76 bool null() const noexcept { return !cert && !privateKey; }
77 using SelfType = CertAndKeyNative;

Callers 1

makeCertNativeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected