public final class GoogleUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Integer |
BUGFIX_VERSION
Bug fix part of the current release version.
|
static Integer |
MAJOR_VERSION
Major part of the current release version.
|
static Integer |
MINOR_VERSION
Minor part of the current release version.
|
static String |
VERSION
Current release version.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyStore |
getCertificateTrustStore()
Deprecated.
Depending on your build environment this method potentially can contain outdated
certs if loading jdk default certs fails. Instead of getting trusted certs directly use an
HttpTransport wrapper such as NetHttpTransport
which uses java jdk internal classes to load default jdk certs specifically for a build
environment. If you need to access the keystore directly please create your own keystore
file.
|
public static final String VERSION
public static final Integer MAJOR_VERSION
public static final Integer MINOR_VERSION
public static final Integer BUGFIX_VERSION
@Deprecated public static KeyStore getCertificateTrustStore() throws IOException, GeneralSecurityException
Value is cached, so subsequent access is fast.
This method first attempts to load the JDK default keystore. If that fails or is not available, it falls back to loading the bundled Google certificate store.
IOExceptionGeneralSecurityExceptionCopyright © 2010–2026 Google. All rights reserved.