You are here

protected function OAuthSignatureMethod_RSA_SHA1::fetch_private_cert in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.2 lib/oauth-php/library/signature_method/OAuthSignatureMethod_RSA_SHA1.php \OAuthSignatureMethod_RSA_SHA1::fetch_private_cert()

* Fetch the private CERT key for the signature * *

Parameters

OAuthRequest request: * @return string private key

1 call to OAuthSignatureMethod_RSA_SHA1::fetch_private_cert()
OAuthSignatureMethod_RSA_SHA1::signature in lib/oauth-php/library/signature_method/OAuthSignatureMethod_RSA_SHA1.php
* Calculate the signature using RSA-SHA1 * This function is copyright Andy Smith, 2008. * *

File

lib/oauth-php/library/signature_method/OAuthSignatureMethod_RSA_SHA1.php, line 68

Class

OAuthSignatureMethod_RSA_SHA1

Code

protected function fetch_private_cert($request) {

  // not implemented yet, ideas are:
  // (1) do a lookup in a table of trusted certs keyed off of consumer
  //
  // either way should return a string representation of the certificate
  throw OAuthException2("OAuthSignatureMethod_RSA_SHA1::fetch_private_cert not implemented");
}