public class X509Provider extends Object
| Constructor and Description |
|---|
X509Provider()
Creates a new X.509 provider that will check the environment variable path and the well known
Gcloud certificate configuration location.
|
X509Provider(String certConfigPathOverride)
Creates an X509 provider with an override path for the certificate configuration, bypassing the
normal checks for the well known certificate configuration file path and environment variable.
|
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
getKeyStore()
Finds the certificate configuration file, then builds a Keystore using the X.509 certificate
and private key pointed to by the configuration.
|
public X509Provider(String certConfigPathOverride)
certConfigPathOverride - the path to read the certificate configuration from.public X509Provider()
public KeyStore getKeyStore() throws IOException
IOException - if there is an error retrieving the certificate configuration.Copyright © 2025 Google. All rights reserved.