Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
MPOAuthSignatureParameter.h
Go to the documentation of this file.
1 //
2 // MPOAuthSignatureParameter.h
3 // MPOAuthConnection
4 //
5 // Created by Karl Adam on 08.12.07.
6 // Copyright 2008 matrixPointer. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
11 
12 #define kMPOAuthSignatureMethodPlaintext @"PLAINTEXT"
13 #define kMPOAuthSignatureMethodHMACSHA1 @"HMAC-SHA1"
14 #define kMPOAuthSignatureMethodRSASHA1 @"RSA-SHA1"
15 
16 @class MPOAuthURLRequest;
17 
19 
20 }
21 
22 + (NSString *)signatureBaseStringUsingParameterString:(NSString *)inParameterString forRequest:(MPOAuthURLRequest *)inRequest;
23 + (NSString *)HMAC_SHA1SignatureForText:(NSString *)inText usingSecret:(NSString *)inSecret;
24 
25 - (id)initWithText:(NSString *)inText andSecret:(NSString *)inSecret forRequest:(MPOAuthURLRequest *)inRequest usingMethod:(NSString *)inMethod;
26 
27 
28 @end