You are here

protected function OAuthSignatureMethod_RSA_SHA1::fetch_public_cert in OAuth 1.0 6

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
  2. 7.3 lib/OAuth.php \OAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
1 call to OAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
OAuthSignatureMethod_RSA_SHA1::check_signature in ./OAuth.php
1 method overrides OAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
TestOAuthSignatureMethod_RSA_SHA1::fetch_public_cert in ./OAuth_TestServer.php

File

./OAuth.php, line 106

Class

OAuthSignatureMethod_RSA_SHA1

Code

protected function fetch_public_cert(&$request) {

  /*{{{*/

  // not implemented yet, ideas are:
  // (1) do a lookup in a table of trusted certs keyed off of consumer
  // (2) fetch via http using a url provided by the requester
  // (3) some sort of specific discovery code based on request
  //
  // either way should return a string representation of the certificate
  throw Exception("fetch_public_cert not implemented");
}