protected function LingotekOAuthSignatureMethod_RSA_SHA1::fetch_public_cert in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod_RSA_SHA1.php \LingotekOAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
- 7.4 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod_RSA_SHA1.php \LingotekOAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
- 7.5 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod_RSA_SHA1.php \LingotekOAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
* Fetch the public CERT key for the signature * *
Parameters
LingotekOAuthRequest request: * @return string public key
1 call to LingotekOAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
- LingotekOAuthSignatureMethod_RSA_SHA1::verify in lib/
oauth-php/ library/ signature_method/ LingotekOAuthSignatureMethod_RSA_SHA1.php - * Check if the request signature is the same as the one calculated for the request. * *
File
- lib/
oauth-php/ library/ signature_method/ LingotekOAuthSignatureMethod_RSA_SHA1.php, line 50
Class
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 OAuthException2("LingotekOAuthSignatureMethod_RSA_SHA1::fetch_public_cert not implemented");
}