[ class tree: core ] [ index: core ] [ all elements ]

Class: OAuthSignatureMethod_RSA_SHA1

Source Location: /zp-extensions/common/oAuth/OAuth.php

Class OAuthSignatureMethod_RSA_SHA1

Class Overview

The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in

[RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a verified way to the Service Provider, in a manner which is beyond the scope of this specification.

  • Chapter 9.3 ("RSA-SHA1")

Located in /zp-extensions/common/oAuth/OAuth.php [line 161]

OAuthSignatureMethod
   |
   --OAuthSignatureMethod_RSA_SHA1
Author(s):
API Tags:
Abstract:  

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From OAuthSignatureMethod

OAuthSignatureMethod::build_signature()
Build up the signature NOTE: The output of this function MUST NOT be urlencoded.
OAuthSignatureMethod::check_signature()
Verifies that a given signature is correct
OAuthSignatureMethod::get_name()
Needs to return the name of the Signature Method (ie HMAC-SHA1)

[ Top ]
Method Summary
void   build_signature()  
void   check_signature()  
void   fetch_private_cert()  
void   fetch_public_cert()  
void   get_name()  

[ Top ]
Methods
build_signature  [line 180]

  void build_signature( $request, $consumer, $token  )

Parameters:
   $request: 
   $consumer: 
   $token: 

API Tags:
Access:  public


Redefinition of:
OAuthSignatureMethod::build_signature()
Build up the signature NOTE: The output of this function MUST NOT be urlencoded.

[ Top ]
check_signature  [line 199]

  void check_signature( $request, $consumer, $token, $signature  )

Parameters:
   $request: 
   $consumer: 
   $token: 
   $signature: 

API Tags:
Access:  public


Redefinition of:
OAuthSignatureMethod::check_signature()
Verifies that a given signature is correct

[ Top ]
fetch_private_cert  [line 178]

  void fetch_private_cert( &$request  )

Parameters:
   &$request: 

API Tags:
Abstract:  
Access:  protected


[ Top ]
fetch_public_cert  [line 172]

  void fetch_public_cert( &$request  )

Parameters:
   &$request: 

API Tags:
Abstract:  
Access:  protected


[ Top ]
get_name  [line 162]

  void get_name( )


API Tags:
Access:  public


Redefinition of:
OAuthSignatureMethod::get_name()
Needs to return the name of the Signature Method (ie HMAC-SHA1)

[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:41 +0200 by phpDocumentor 1.4.3