You are here

public function OAuthSignatureMethod_RSA_SHA1::get_name in OAuth 1.0 6.3

Same name and namespace in other branches
  1. 6 OAuth.php \OAuthSignatureMethod_RSA_SHA1::get_name()
  2. 7.3 lib/OAuth.php \OAuthSignatureMethod_RSA_SHA1::get_name()

Needs to return the name of the Signature Method (ie HMAC-SHA1)

Return value

string

Overrides OAuthSignatureMethod::get_name

File

lib/OAuth.php, line 189
OAuth 1.0 server and client library.

Class

OAuthSignatureMethod_RSA_SHA1
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…

Code

public function get_name() {
  return "RSA-SHA1";
}