> throw propagate(e);
> }
> }
> +
> + private static X509Certificate getCertificate(String certificate) {
> + try {
> + return (X509Certificate)
> CertificateFactory.getInstance("X.509").generateCertificate(
> + new
> ByteArrayInputStream(certificate.getBytes(Charsets.UTF_8)));
> + } catch (CertificateException ex) {
> + throw new RuntimeException("Invalid certificate", ex);
> + }
> + }
> +
> + private static PrivateKey getKey(String privateKey, String... password) {
fixed
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/113/files#r22327843