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.
Located in /zp-extensions/common/oAuth/OAuth.php [line 161]
OAuthSignatureMethod
|
--OAuthSignatureMethod_RSA_SHA1
Author(s):
API Tags:
|
Methods
|
Inherited Properties, Constants, and Methods
Methods
void build_signature(
$request,
$consumer,
$token
)
|
|
Parameters:
|
$request: |
|
|
$consumer: |
|
|
$token: |
|
API Tags:
Redefinition of:
- OAuthSignatureMethod::build_signature()
- Build up the signature NOTE: The output of this function MUST NOT be urlencoded.
void check_signature(
$request,
$consumer,
$token,
$signature
)
|
|
Parameters:
|
$request: |
|
|
$consumer: |
|
|
$token: |
|
|
$signature: |
|
API Tags:
Redefinition of:
- OAuthSignatureMethod::check_signature()
- Verifies that a given signature is correct
void fetch_private_cert(
&$request
)
|
|
Parameters:
API Tags:
Abstract: | |
Access: | protected |
void fetch_public_cert(
&$request
)
|
|
Parameters:
API Tags:
Abstract: | |
Access: | protected |
|
|