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")
build_signature(\OAuthRequest $request, \OAuthConsumer $consumer, \OAuthToken $token) : string
the encoding is handled in OAuthRequest when the final request is serialized
\OAuthRequest
\OAuthConsumer
\OAuthToken
string
check_signature(\OAuthRequest $request, \OAuthConsumer $consumer, \OAuthToken $token, string $signature) : bool
\OAuthRequest
\OAuthConsumer
\OAuthToken
string
bool
get_name() : string
string
fetch_private_cert($request)
fetch_public_cert($request)