Oauth/Signature/Rsa.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Oauth  
Version
$Id: Rsa.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Oauth_Signature_Rsa

Package: Zend\Oauth

Parent(s)
\Zend_Oauth_Signature_SignatureAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring $_consumerSecret = null
inherited

Consumer secret

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_consumerSecret
Default valuenullDetails
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_consumerSecret  
Propertyprotectedstring $_hashAlgorithm = null
inherited

Hash algorithm to use when generating signature

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_hashAlgorithm
Default valuenullDetails
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_hashAlgorithm  
Propertyprotectedstring $_key = null
inherited

Key to use when signing

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_key
Default valuenullDetails
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_key  
Propertyprotectedstring $_tokenSecret = ''
inherited

Token secret

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_tokenSecret
Default value''Details
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_tokenSecret  

Methods

methodpublic__construct(string $consumerSecret, null | string $tokenSecret = null, null | string $hashAlgo = null) : void
inherited

Constructor

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::__construct()
Parameters
Name Type Description
$consumerSecret string
$tokenSecret null | string
$hashAlgo null | string
methodprotected_assembleKey() : string

Assemble encryption key

Returns
Type Description
string
methodprotected_getBaseSignatureString(array $params, null | string $method = null, null | string $url = null) : string
inherited

Get base signature string

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_getBaseSignatureString()
Parameters
Name Type Description
$params array
$method null | string
$url null | string
Returns
Type Description
string
methodprotected_toByteValueOrderedQueryString(array $params) : string
inherited

Transform an array to a byte value ordered query string

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_toByteValueOrderedQueryString()
Parameters
Name Type Description
$params array
Returns
Type Description
string
methodpublicnormaliseBaseSignatureUrl(string $url) : string
inherited

Normalize the base signature URL

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::normaliseBaseSignatureUrl()
Parameters
Name Type Description
$url string
Returns
Type Description
string
methodpublicsign(array $params, null | string $method = null, null | string $url = null) : string

Sign a request

Parameters
Name Type Description
$params array
$method null | string
$url null | string
Returns
Type Description
string
Documentation was generated by phpDocumentor 2.0.0a8.