You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
Original issue reported on code.google.com by sebastie...@progis.fr on 12 Feb 2014 at 7:28
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
sebastie...@progis.fr
on 12 Feb 2014 at 7:28The text was updated successfully, but these errors were encountered: