Package io.grpc.util

Class AdvancedTlsX509KeyManager

  • All Implemented Interfaces:
    KeyManager, X509KeyManager

    public final class AdvancedTlsX509KeyManager
    extends X509ExtendedKeyManager
    AdvancedTlsX509KeyManager is an X509ExtendedKeyManager that allows users to configure advanced TLS features, such as private key and certificate chain reloading.

    The alias increments on every credential load (e.g. "key-1", "key-2", ...), so the same alias always maps to the same key material. The previous alias is retained for one rotation to allow in-progress handshakes to complete, ensuring alias-to-key-material consistency across credential reloads.