aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/net/tls/policy_checking_certificate_verifier.h
blob: fd1ff5ac5a61db6e71491bc8c90db6c5b4effcd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "authorization_mode.h"
#include "certificate_verification_callback.h"
#include "peer_policies.h"

namespace vespalib::net::tls {

std::shared_ptr<CertificateVerificationCallback> create_verify_callback_from(AuthorizedPeers authorized_peers);

}