public static synchronized KeyStore getCertificateTrustStore()
      throws IOException, GeneralSecurityException {
    if (certTrustStore == null) {
      certTrustStore = SecurityUtils.getJavaKeyStore();
      InputStream keyStoreStream = GoogleUtils.class.getResourceAsStream("google.jks");
      SecurityUtils.loadKeyStore(certTrustStore, keyStoreStream, "notasecret");
    }
    return certTrustStore;
  }
public static synchronized KeyStore getCertificateTrustStore ( ) throws IOException , GeneralSecurityException { if ( certTrustStore == null ) { certTrustStore = SecurityUtils . getJavaKeyStore ( ) ; InputStream keyStoreStream = GoogleUtils . class . getResourceAsStream ( "google.jks" ) ; SecurityUtils . loadKeyStore ( certTrustStore , keyStoreStream , "notasecret" ) ; } return certTrustStore ; }
Returns the key store for trusted root certificates to use for Google APIs.

<p>
Value is cached, so subsequent access is fast.
</p>

@since 1.14