|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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. More...
Inheritance diagram for OAuthSignatureMethod_RSA_SHA1:
Collaboration diagram for OAuthSignatureMethod_RSA_SHA1:Public Member Functions | |
| get_name () | |
| Needs to return the name of the Signature Method (ie HMAC-SHA1) More... | |
| build_signature ($request, $consumer, $token) | |
| Build up the signature NOTE: The output of this function MUST NOT be urlencoded. More... | |
| check_signature ($request, $consumer, $token, $signature) | |
| Verifies that a given signature is correct. More... | |
| get_name () | |
| Needs to return the name of the Signature Method (ie HMAC-SHA1) More... | |
| build_signature ($request, $consumer, $token) | |
| Build up the signature NOTE: The output of this function MUST NOT be urlencoded. More... | |
| check_signature ($request, $consumer, $token, $signature) | |
| Verifies that a given signature is correct. More... | |
Protected Member Functions | |
| fetch_public_cert (&$request) | |
| fetch_private_cert (&$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.
| OAuthSignatureMethod_RSA_SHA1::build_signature | ( | $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.
Definition at line 209 of file OAuth.php.
References $ok, and fetch_private_cert().
Here is the call graph for this function:| OAuthSignatureMethod_RSA_SHA1::check_signature | ( | $request, | |
| $consumer, | |||
| $token, | |||
| $signature | |||
| ) |
Verifies that a given signature is correct.
| OAuthRequest | $request | |
| OAuthConsumer | $consumer | |
| OAuthToken | $token | |
| string | $signature |
Reimplemented from OAuthSignatureMethod.
Definition at line 228 of file OAuth.php.
References $ok, and fetch_public_cert().
Here is the call graph for this function:
|
abstractprotected |
|
abstractprotected |
| OAuthSignatureMethod_RSA_SHA1::get_name | ( | ) |
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Reimplemented from OAuthSignatureMethod.
Definition at line 191 of file OAuth.php.