You are here

public function OAuthSignatureMethod_RSA_SHA1::get_name in jQuery social stream 8.2

Same name and namespace in other branches
  1. 8 src/Twitter/OAuthSignatureMethod_RSA_SHA1.php \Drupal\jquery_social_stream\Twitter\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

src/Twitter/OAuthSignatureMethod_RSA_SHA1.php, line 14

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…

Namespace

Drupal\jquery_social_stream\Twitter

Code

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