Go to the documentation of this file.
19 #ifndef GRPC_GRPC_CRL_PROVIDER_H
20 #define GRPC_GRPC_CRL_PROVIDER_H
25 #include "absl/status/statusor.h"
26 #include "absl/strings/string_view.h"
33 namespace experimental {
38 static absl::StatusOr<std::unique_ptr<Crl>>
Parse(
39 absl::string_view crl_string);
40 virtual ~Crl() =
default;
41 virtual absl::string_view
Issuer() = 0;
49 virtual absl::string_view
Issuer()
const = 0;
64 virtual std::shared_ptr<Crl>
GetCrl(
69 absl::Span<const std::string> crls);
79 absl::string_view directory, std::chrono::seconds refresh_duration,
80 std::function<
void(absl::Status)> reload_error_callback);
94 std::shared_ptr<grpc_core::experimental::CrlProvider> provider);
virtual ~CrlProvider()=default
Definition: grpc_crl_provider.h:36
Definition: grpc_crl_provider.h:46
void grpc_tls_credentials_options_set_crl_provider(grpc_tls_credentials_options *options, std::shared_ptr< grpc_core::experimental::CrlProvider > provider)
EXPERIMENTAL API - Subject to change.
struct grpc_tls_credentials_options grpc_tls_credentials_options
EXPERIMENTAL API - Subject to change.
Definition: credentials.h:572
Definition: grpc_audit_logging.h:31
Definition: grpc_crl_provider.h:60
virtual std::shared_ptr< Crl > GetCrl(const CertificateInfo &certificate_info)=0
absl::StatusOr< std::shared_ptr< CrlProvider > > CreateStaticCrlProvider(absl::Span< const std::string > crls)
absl::StatusOr< std::shared_ptr< CrlProvider > > CreateDirectoryReloaderCrlProvider(absl::string_view directory, std::chrono::seconds refresh_duration, std::function< void(absl::Status)> reload_error_callback)
virtual absl::string_view Issuer() const =0
static absl::StatusOr< std::unique_ptr< Crl > > Parse(absl::string_view crl_string)
virtual absl::string_view Issuer()=0
virtual ~CertificateInfo()=default
virtual absl::string_view AuthorityKeyIdentifier() const =0