>           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) {

Why is the `password` parameter an array?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/113/files#r21864940

Reply via email to