chromium/third_party/grpc/src/src/cpp/common/tls_credentials_options.cc

//
//
// Copyright 2019 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//

#include <memory>
#include <string>
#include <utility>

#include <grpc/grpc_security.h>
#include <grpc/grpc_security_constants.h>
#include <grpc/support/log.h>
#include <grpcpp/security/tls_certificate_provider.h>
#include <grpcpp/security/tls_certificate_verifier.h>
#include <grpcpp/security/tls_credentials_options.h>

namespace grpc {
namespace experimental {

TlsCredentialsOptions::TlsCredentialsOptions() {}

void TlsCredentialsOptions::set_certificate_provider(
    std::shared_ptr<CertificateProviderInterface> certificate_provider) {}

void TlsCredentialsOptions::watch_root_certs() {}

void TlsCredentialsOptions::set_root_cert_name(
    const std::string& root_cert_name) {}

void TlsCredentialsOptions::watch_identity_key_cert_pairs() {}

void TlsCredentialsOptions::set_identity_cert_name(
    const std::string& identity_cert_name) {}

void TlsCredentialsOptions::set_crl_directory(const std::string& path) {}

void TlsCredentialsOptions::set_tls_session_key_log_file_path(
    const std::string& tls_session_key_log_file_path) {}

void TlsCredentialsOptions::set_certificate_verifier(
    std::shared_ptr<CertificateVerifier> certificate_verifier) {}

void TlsCredentialsOptions::set_check_call_host(bool check_call_host) {}

void TlsChannelCredentialsOptions::set_verify_server_certs(
    bool verify_server_certs) {}

void TlsServerCredentialsOptions::set_cert_request_type(
    grpc_ssl_client_certificate_request_type cert_request_type) {}

}  // namespace experimental
}  // namespace grpc