@BetaApi public class MtlsProvider extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MtlsProvider.MtlsEndpointUsagePolicy
The policy for mutual TLS endpoint usage.
|
| Constructor and Description |
|---|
MtlsProvider() |
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
getKeyStore()
The mutual TLS key store created with the default client certificate on device.
|
MtlsProvider.MtlsEndpointUsagePolicy |
getMtlsEndpointUsagePolicy()
Returns the current mutual TLS endpoint usage policy.
|
boolean |
useMtlsClientCertificate()
Returns if mutual TLS client certificate should be used.
|
public boolean useMtlsClientCertificate()
getKeyStore() will be used to configure mutual TLS transport.public MtlsProvider.MtlsEndpointUsagePolicy getMtlsEndpointUsagePolicy()
public KeyStore getKeyStore() throws IOException
IOException