Skip to content

Commit

Permalink
[Security - Documentation] Mark cpp crl_directory method as deprecated (
Browse files Browse the repository at this point in the history
grpc#35128)

The c-core API was marked as deprecated, also mark the cpp api as deprecated

Closes grpc#35128

COPYBARA_INTEGRATE_REVIEW=grpc#35128 from gtcooke94:deprecate_cpp_crl_directory 56717d0
PiperOrigin-RevId: 586057092
  • Loading branch information
gtcooke94 authored and copybara-github committed Nov 28, 2023
1 parent 79c9a67 commit d47a264
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/grpcpp/security/tls_credentials_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ class TlsCredentialsOptions {
// verifiers other than the host name verifier is used.
void set_check_call_host(bool check_call_host);

// TODO(zhenlian): This is an experimental API is likely to change in the
// future. Before de-experiementalizing, verify the API is up to date.
// Deprecated in favor of set_crl_provider. The
// crl provider interface provides a significantly more flexible approach to
// using CRLs. See gRFC A69 for details.
// If set, gRPC will read all hashed x.509 CRL files in the directory and
// enforce the CRL files on all TLS handshakes. Only supported for OpenSSL
// version > 1.1.
Expand Down

0 comments on commit d47a264

Please sign in to comment.