|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.noderunner.amazon.s3.CanonicalString
public class CanonicalString
Creates canonical strings for authorization purposes by hashing the request against an authorization key.
Method Summary | |
---|---|
static String |
make(Method method,
Bucket bucket,
String key,
Map<String,String> pathArgs,
Headers headers)
Returns a canonical string used in authentication. |
static String |
make(Method method,
Bucket bucket,
String key,
Map<String,String> pathArgs,
Headers headers,
String expires)
Returns a canonical string used in authentication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String make(Method method, Bucket bucket, String key, Map<String,String> pathArgs, Headers headers)
public static String make(Method method, Bucket bucket, String key, Map<String,String> pathArgs, Headers headers, String expires)
expires
- When non-null, it will be used instead of the Date header.key
- URL-encoded string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |