

Public Member Functions | |
| getName () | |
| buildSignature ($request, $consumer, $token) | |
| checkSignature ($request, $consumer, $token, $signature) | |
Protected Member Functions | |
| fetchPublicCert (&$request) | |
| fetchPrivateCert (&$request) | |
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.
| OAuthSignatureMethodRsaSha1::buildSignature | ( | $ | request, |
| $ | consumer, | ||
| $ | token | ||
| ) |
Build up the signature NOTE: The output of this function MUST NOT be urlencoded. the encoding is handled in OAuthRequest when the final request is serialized
| OAuthRequest | $request | |
| OAuthConsumer | $consumer | |
| OAuthToken | $token |
Reimplemented from OAuthSignatureMethod.
| OAuthSignatureMethodRsaSha1::checkSignature | ( | $ | request, |
| $ | consumer, | ||
| $ | token, | ||
| $ | signature | ||
| ) |
Verifies that a given signature is correct.
| OAuthRequest | $request | |
| OAuthConsumer | $consumer | |
| OAuthToken | $token | |
| string | $signature |
Reimplemented from OAuthSignatureMethod.
| OAuthSignatureMethodRsaSha1::fetchPrivateCert | ( | &$ | request | ) | [abstract, protected] |
| OAuthSignatureMethodRsaSha1::fetchPublicCert | ( | &$ | request | ) | [abstract, protected] |
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Reimplemented from OAuthSignatureMethod.