增加换肤功能

This commit is contained in:
启星
2025-08-14 10:07:49 +08:00
parent f6964c1e89
commit 4f9318d98e
8789 changed files with 978530 additions and 2 deletions

View 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