Class MtlsProvider


  • @BetaApi
    public class MtlsProvider
    extends Object
    Provider class for mutual TLS. It is used to configure the mutual TLS in the transport with the default client certificate on device.
    • Constructor Detail

      • MtlsProvider

        public MtlsProvider()
    • Method Detail

      • useMtlsClientCertificate

        public boolean useMtlsClientCertificate()
        Returns if mutual TLS client certificate should be used. If the value is true, the key store from getKeyStore() will be used to configure mutual TLS transport.
      • getKeyStore

        public KeyStore getKeyStore()
                             throws IOException
        The mutual TLS key store created with the default client certificate on device.
        Throws:
        IOException