> @@ -156,6 +157,15 @@ public String getPrivateKey() {
>     }
>  
>     /**
> +    * @return true if there is a private key attached that is not encrypted
> +    */
> +   public boolean hasUnencryptedPrivateKey() {
> +      return getPrivateKey() != null
> +         && !getPrivateKey().isEmpty()
> +         && !getPrivateKey().contains(Pems.PROC_TYPE_ENCRYPTED);

OK, makes sense then. Do we need a case-insensitive comparison here, perhaps?

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

Reply via email to