Status: New
Owner:
ngmic...@google.com
New issue 857 by
sebastie...@progis.fr:
setServiceAccountPrivateKeyFromP12File(InputStream p12File)
http://code.google.com/p/google-api-java-client/issues/detail?id=857
For now, you can't use a p12 stored as a resource and it coul be very
usefull if you can setServiceAccountPrivateKeyFromP12File from an
InputStream (way that you can access to the ressource).
Here is the method that I use :
public Builder setServiceAccountPrivateKeyFromP12File(InputStream
p12File)
throws GeneralSecurityException, IOException {
serviceAccountPrivateKey =
SecurityUtils.loadPrivateKeyFromKeyStore(
SecurityUtils.getPkcs12KeyStore(), p12File, "notasecret",
"privatekey", "notasecret");
return this;
}
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings