Records

Functions

  • absl::StatusOr<std::shared_ptr<CrlProvider>> CreateStaticCrlProvider (absl::Span<const std::string> crls)
  • absl::StatusOr<std::shared_ptr<CrlProvider>> CreateDirectoryReloaderCrlProvider (absl::string_view directorystd::chrono::seconds refresh_durationstd::function<void (absl::Status)> reload_error_callback)

    Creates a CRL Provider that periodically and asynchronously reloads a

    directory. The refresh_duration minimum is 60 seconds. The

    reload_error_callback provides a way for the user to specifically log or

    otherwise notify of errors during reloading. Since reloading is asynchronous

    and not on the main codepath, the grpc process will continue to run through

    reloading errors, so this mechanism is an important way to provide signals to

    your monitoring and alerting setup.