32 : context_(context), x509Store_(
nullptr) {
39 : context_(context), x509Store_(
std::
move(store)) {
43 void verify(
const std::vector<std::shared_ptr<const fizz::PeerCert>>& certs)
47 customVerifyCallback_ = cb;
55 std::vector<Extension> getCertificateRequestExtensions()
const override;
57 static X509_STORE* getDefaultX509Store();
59 static std::unique_ptr<DefaultCertificateVerifier> createFromCAFile(
64 void createAuthorities();
void setX509Store(folly::ssl::X509StoreUniquePtr &&store)
DefaultCertificateVerifier(VerificationContext context)
folly::ssl::X509StoreUniquePtr x509Store_
constexpr detail::Map< Move > move
DefaultCertificateVerifier(VerificationContext context, folly::ssl::X509StoreUniquePtr &&store)
VerificationContext context_
std::unique_ptr< X509_STORE, X509StoreDeleter > X509StoreUniquePtr
CertificateAuthorities authorities_
int(*)(int, X509_STORE_CTX *) X509VerifyCallback
void setCustomVerifyCallback(X509VerifyCallback cb)