public static Apache5HttpTransport newTrustedTransport()
Returns a new instance of Apache5HttpTransport that uses GoogleUtils#getCertificateTrustStore() for the trusted certificates. If
GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is set to "true", and the default
client certificate key store from Utils#loadDefaultMtlsKeyStore() is not null, then the
transport uses the default client certificate and is mutual TLS.
public static Apache5HttpTransport newTrustedTransport(MtlsProvider mtlsProvider)
Beta
Returns a new instance of Apache5HttpTransport that uses GoogleUtils#getCertificateTrustStore() for the trusted certificates. mtlsProvider can be used
to configure mutual TLS for the transport.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]