public final class GoogleUtilsUtility class for the Google API Client Library.
Static Fields
BUGFIX_VERSION
public static final Integer BUGFIX_VERSIONBug fix part of the current release version.
| Field Value | |
|---|---|
| Type | Description |
Integer |
|
MAJOR_VERSION
public static final Integer MAJOR_VERSIONMajor part of the current release version.
| Field Value | |
|---|---|
| Type | Description |
Integer |
|
MINOR_VERSION
public static final Integer MINOR_VERSIONMinor part of the current release version.
| Field Value | |
|---|---|
| Type | Description |
Integer |
|
VERSION
public static final String VERSIONCurrent release version.
| Field Value | |
|---|---|
| Type | Description |
String |
|
Static Methods
getCertificateTrustStore() (deprecated)
public static synchronized 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 {@link 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.
Returns a keystore for trusted root certificates to use for Google APIs.
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.
| Returns | |
|---|---|
| Type | Description |
KeyStore |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
GeneralSecurityException |
|