\OAuthSignatureMethod_HMAC_SHA1
The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty.
- Chapter 9.2 ("HMAC-SHA1")
Synopsis
class OAuthSignatureMethod_HMAC_SHA1
extends OAuthSignatureMethod
{
- // methods
- public void get_name()
- public void build_signature()
- // Inherited methods from OAuthSignatureMethod
- public abstract string get_name()
- public abstract string build_signature()
- public bool check_signature()
Hierarchy
Extends
Methods
public
Inherited from OAuthSignatureMethod
public
- build_signature() — Build up the signature NOTE: The output of this function MUST NOT be urlencoded.
- check_signature() — Verifies that a given signature is correct
- get_name() — Needs to return the name of the Signature Method (ie HMAC-SHA1)