Utilities for signing requests. More...
#import <AmazonAuthUtils.h>
Static Public Member Functions | |
(NSString *) | + getAuthorization:forBucket:forVerb:accessKey:secretKey: |
(NSString *) | + getSignature:forBucket:forVerb:secretKey: |
(NSString *) | + HMACSign:withKey:usingAlgorithm: |
Compute a keyed hash of some data with a specified key and algorithm. |
Utilities for signing requests.
+ (NSString * AmazonAuthUtils.)HMACSign: | (NSData *) | data | ||
withKey: | (NSString *) | key | ||
usingAlgorithm: | (CCHmacAlgorithm) | algorithm | ||
Compute a keyed hash of some data with a specified key and algorithm.
data | The data to sign | |
key | The key to sign the data with | |
algorithm | Which HMAC algortithm to use. Currently support kCCHmacAlgSHA1 and kCCHmacAlgSHA256 . |