public interface MtlsProviderBeta
Provider interface for mutual TLS. It is used in GoogleApacheHttpTransport#newTrustedTransport(MtlsProvider) and GoogleNetHttpTransport#newTrustedTransport(MtlsProvider) to configure the mutual TLS in the
transport.
Methods
getKeyStore()
public abstract KeyStore getKeyStore()The password for mutual TLS key store.
| Type | Description |
| KeyStore |
| Type | Description |
| IOException | |
| GeneralSecurityException |
getKeyStorePassword()
public abstract String getKeyStorePassword()The key store to use for mutual TLS.
| Type | Description |
| String |
useMtlsClientCertificate()
public abstract boolean useMtlsClientCertificate()Returns if mutual TLS client certificate should be used. If the value is true, the key store from #getKeyStore() and key store password from #getKeyStorePassword() will be used to configure mutual TLS transport.
| Type | Description |
| boolean |