@Beta
public interface MtlsProvider
Beta
GoogleApacheHttpTransport#newTrustedTransport(MtlsProvider)
and GoogleNetHttpTransport#newTrustedTransport(MtlsProvider)
to configure the mutual TLS in the
transport.Modifier and Type | Method and Description |
---|---|
KeyStore |
getKeyStore()
The password for mutual TLS key store.
|
String |
getKeyStorePassword()
The key store to use for mutual TLS.
|
boolean |
useMtlsClientCertificate()
Returns if mutual TLS client certificate should be used.
|
boolean useMtlsClientCertificate()
getKeyStore()
and key store password from getKeyStorePassword()
will be
used to configure mutual TLS transport.String getKeyStorePassword()
KeyStore getKeyStore() throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
Copyright © 2010–2023 Google. All rights reserved.