增加换肤功能
This commit is contained in:
36
Pods/AliyunOSSiOS/AliyunOSSSDK/Signer/OSSSignUtils.h
generated
Normal file
36
Pods/AliyunOSSiOS/AliyunOSSSDK/Signer/OSSSignUtils.h
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// SignUtils.h
|
||||
// AliyunOSSSDK
|
||||
//
|
||||
// Created by ws on 2023/12/26.
|
||||
// Copyright © 2023 aliyun. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
|
||||
@class OSSAllRequestNeededMessage;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface OSSSignUtils : NSObject
|
||||
|
||||
+ (NSString *)composeRequestAuthorization:(NSString *)accessKeyId
|
||||
signature:(NSString *)signature;
|
||||
|
||||
+ (NSString *)buildCanonicalString:(NSString *)method
|
||||
resourcePath:(NSString *)resourcePath
|
||||
request:(OSSAllRequestNeededMessage *)request
|
||||
expires:(nullable NSString *)expires;
|
||||
|
||||
+ (NSString *)buildCanonicalizedResource:(NSString *)resourcePath
|
||||
parameters:(NSDictionary *)parameters;
|
||||
|
||||
+ (NSString *)buildSignature:(NSString *)secretAccessKey
|
||||
httpMethod:(NSString *)httpMethod
|
||||
resourcePath:(NSString *)resourcePath
|
||||
request:(OSSAllRequestNeededMessage *)request;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user