//
//  HWOcrClientAKSKSign.h
//  OCR
//
//  Created by huawei on 2018/10/31.
//  Copyright © 2018/10/31 huawei. All rights reserved.
//

#import <Foundation/Foundation.h>
@class OcrAkSKSignRequest;
@interface HWOcrClientAKSKSign : NSObject
+ (instancetype)shardService;
- (void)signWithOcrHttpRequest:(OcrAkSKSignRequest *)r appKey:(NSString *)ak appSecretKey:(NSString *)sk;
@end

@interface OcrAkSKSignRequest : NSObject
@property (copy,nonatomic) NSString *method;
@property (copy,nonatomic) NSString *scheme;
@property (copy,nonatomic) NSString *host;
@property (copy,nonatomic) NSString *uri;
@property (strong,nonatomic) NSMutableDictionary *query;
@property (strong,nonatomic) NSMutableDictionary *headers;
@property (copy,nonatomic) NSString *body;
@end
