You are here

protected function LingotekOAuthSignatureMethod_RSA_SHA1::fetch_private_cert in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.4 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod_RSA_SHA1.php \LingotekOAuthSignatureMethod_RSA_SHA1::fetch_private_cert()
  2. 7.5 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod_RSA_SHA1.php \LingotekOAuthSignatureMethod_RSA_SHA1::fetch_private_cert()
  3. 7.6 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod_RSA_SHA1.php \LingotekOAuthSignatureMethod_RSA_SHA1::fetch_private_cert()

* Fetch the private CERT key for the signature * *

Parameters

LingotekOAuthRequest request: * @return string private key

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

File

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

Class

LingotekOAuthSignatureMethod_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("LingotekOAuthSignatureMethod_RSA_SHA1::fetch_private_cert not implemented");
}