> +
> +/**
> + * @author vitaly.rudenya
> + */
> +@Singleton
> +public class JoyentBlobRequestSigner implements HttpRequestFilter {
> +
> +    private static final Log LOG = 
> LogFactory.getLog(JoyentBlobRequestSigner.class);
> +    private static final DateFormat DATE_FORMAT = new SimpleDateFormat("EEE 
> MMM d HH:mm:ss yyyy zzz", Locale.ENGLISH);
> +    private static final String AUTHZ_HEADER = "Signature 
> keyId=\"/%s/keys/%s\",algorithm=\"rsa-sha256\","
> +            + "signature=\"%s\"";
> +
> +    private static final String SIGNING_ALGORITHM = 
> "SHA256WithRSAEncryption";
> +    private static final String AUTHZ_SIGNING_STRING = "date: %s";
> +
> +    private volatile KeyPair keyPair_;

Ignore the volatile comment, and see comment below.

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

Reply via email to