class InMemoryCertificateProvider

Defined at line 164 of file ../../third_party/grpc/src/include/grpcpp/security/tls_certificate_provider.h

"A CertificateProviderInterface implementation that stores credentials

in-memory and allows the user to update credentials on-demand.

Public Methods

void InMemoryCertificateProvider ()
absl::Status UpdateRoot (const std::string & root_certificate)

TODO(anasalazar): Expose some API for callers to pass in a SPIFFE bundle

map for the root cert.

Users should verify the status retuned to confirm that the update was

successful.

absl::Status UpdateIdentityKeyCertPair (std::vector<IdentityKeyCertPair> identity_key_cert_pairs)
absl::Status UpdateIdentityKeyCertPair (std::vector<IdentityKeyOrSignerCertPair> identity_key_or_signer_cert_pairs)
absl::Status ValidateCredentials ()

Returns an OK status if the following conditions hold:

- the root certificates consist of one or more valid PEM blocks, and

- every identity key-cert pair has a certificate chain that consists of

chain that consists of valid PEM blocks and has a private key is a valid

PEM block.

grpc_tls_certificate_provider * c_provider ()

Defined at line 171 of file ../../third_party/grpc/src/include/grpcpp/security/tls_certificate_provider.h

void ~InMemoryCertificateProvider ()