[ class tree: OpenID ] [ index: OpenID ] [ all elements ]

Class: Auth_OpenID_Signatory

Source Location: /zp-extensions/federated_logon/Auth/OpenID/Server.php

Class Auth_OpenID_Signatory

Class Overview

Responsible for the signature of query data and the verification of OpenID signature values.

Located in /zp-extensions/federated_logon/Auth/OpenID/Server.php [line 1299]



		
		
		
		

Properties

Methods

[ Top ]
Property Summary
mixed   $dumb_key  
mixed   $normal_key  
mixed   $SECRET_LIFETIME  

[ Top ]
Method Summary
Auth_OpenID_Signatory   Auth_OpenID_Signatory()   Create a new signatory using a given store.
void   createAssociation()   Make a new association.
void   getAssociation()   Given an association handle, get the association from the store, or return a ServerError or null if something goes wrong.
void   invalidate()   Invalidate a given association handle.
void   sign()   Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response.
void   verify()   Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.

[ Top ]
Properties
mixed   $dumb_key = 'http://localhost/|dumb' [line 1309]

[ Top ]
mixed   $normal_key = 'http://localhost/|normal' [line 1308]

[ Top ]
mixed   $SECRET_LIFETIME = 1209600 [line 1302]

[ Top ]
Methods
Constructor Auth_OpenID_Signatory  [line 1314]

  Auth_OpenID_Signatory Auth_OpenID_Signatory( $store  )

Create a new signatory using a given store.

Parameters:
   $store: 


[ Top ]
createAssociation  [line 1373]

  void createAssociation( [ $dumb = true], [ $assoc_type = 'HMAC-SHA1']  )

Make a new association.

Parameters:
   $dumb: 
   $assoc_type: 


[ Top ]
getAssociation  [line 1398]

  void getAssociation( $assoc_handle, $dumb, [ $check_expiration = true]  )

Given an association handle, get the association from the store, or return a ServerError or null if something goes wrong.

Parameters:
   $assoc_handle: 
   $dumb: 
   $check_expiration: 


[ Top ]
invalidate  [line 1426]

  void invalidate( $assoc_handle, $dumb  )

Invalidate a given association handle.

Parameters:
   $assoc_handle: 
   $dumb: 


[ Top ]
sign  [line 1340]

  void sign( $response  )

Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response.

Parameters:
   $response: 


[ Top ]
verify  [line 1324]

  void verify( $assoc_handle, $message  )

Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.

Parameters:
   $assoc_handle: 
   $message: 


[ Top ]

Documentation generated on Tue, 20 Dec 2011 16:08:07 +0100 by phpDocumentor 1.4.3