public interface MtlsProvider
Note: This interface will replace the identically named "MtlsProvider" implementation in the Gax library. The Gax library version of MtlsProvider will be marked as deprecated. See https://github.com/googleapis/google-auth-library-java/issues/1758
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
getKeyStore()
Returns a mutual TLS key store.
|
boolean |
isAvailable()
Returns true if the underlying mTLS provider is available.
|
KeyStore getKeyStore() throws CertificateSourceUnavailableException, IOException
CertificateSourceUnavailableException - if the certificate source is unavailable (ex.
missing configuration file).IOException - if a general I/O error occurs while creating the KeyStoreboolean isAvailable()
throws IOException
IOException - if a general I/O error occurs while determining availability.Copyright © 2026 Google. All rights reserved.