Skip to content

class Twitter_OAuthSignatureMethod_RSA_SHA1

Oliver edited this page Apr 25, 2020 · 1 revision

www/includes/twitter-php/OAuth.php


Twitter_OAuthSignatureMethod_RSA_SHA1

  • Chapter 9.3 ("RSA-SHA1")

abstract

Package

Default

Overview

Public Properties

No public properties found

Constants

No constants found

Public Methods

build_signature() | check_signature() | get_name() |

Methods

build_signature()

Build up the signature NOTE: The output of this function MUST NOT be urlencoded.

the encoding is handled in OAuthRequest when the final request is serialized

public build_signature(mixed $request, mixed $consumer, mixed $token) : string

check_signature()

Verifies that a given signature is correct

public check_signature(mixed $request, mixed $consumer, mixed $token, mixed $signature) : bool

fetch_private_cert()

protected fetch_private_cert(mixed $request) : mixed abstract

fetch_public_cert()

protected fetch_public_cert(mixed $request) : mixed abstract

get_name()

Needs to return the name of the Signature Method (ie HMAC-SHA1)

public get_name() : string


\ » Classes » Twitter_OAuthSignatureMethod_RSA_SHA1

Clone this wiki locally