| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Collaboration diagram for Auth_OpenID_Signatory:
 Collaboration diagram for Auth_OpenID_Signatory:| Public Member Functions | |
| Auth_OpenID_Signatory ($store) | |
| Create a new signatory using a given store. | |
| verify ($assoc_handle, $message) | |
| Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request. | |
| sign ($response) | |
| Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response. | |
| createAssociation ($dumb=true, $assoc_type= 'HMAC-SHA1') | |
| Make a new association. | |
| 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. | |
| invalidate ($assoc_handle, $dumb) | |
| Invalidate a given association handle. | |
| Data Fields | |
| $SECRET_LIFETIME = 1209600 | |
| $normal_key = 'http://localhost/|normal' | |
| $dumb_key = 'http://localhost/|dumb' | |
Definition at line 1299 of file Server.php.
| Auth_OpenID_Signatory::Auth_OpenID_Signatory | ( | $store | ) | 
Create a new signatory using a given store.
Definition at line 1314 of file Server.php.
| Auth_OpenID_Signatory::createAssociation | ( | $dumb = true, | |
| $assoc_type = 'HMAC-SHA1' | |||
| ) | 
Make a new association.
Definition at line 1373 of file Server.php.
References $dumb_key, $normal_key, Auth_OpenID_getSecretSize(), Auth_OpenID_Association\fromExpiresIn(), and Auth_OpenID_CryptUtil\getBytes().
Referenced by sign().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| Auth_OpenID_Signatory::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.
Definition at line 1398 of file Server.php.
References $dumb_key, and $normal_key.
Referenced by sign(), and verify().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Auth_OpenID_Signatory::invalidate | ( | $assoc_handle, | |
| $dumb | |||
| ) | 
Invalidate a given association handle.
Definition at line 1426 of file Server.php.
References $dumb_key, and $normal_key.
Referenced by sign().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Auth_OpenID_Signatory::sign | ( | $response | ) | 
Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response.
Definition at line 1340 of file Server.php.
References Auth_OpenID_OPENID_NS, createAssociation(), getAssociation(), and invalidate().
 Here is the call graph for this function:
 Here is the call graph for this function:| Auth_OpenID_Signatory::verify | ( | $assoc_handle, | |
| $message | |||
| ) | 
Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.
Definition at line 1324 of file Server.php.
References getAssociation().
 Here is the call graph for this function:
 Here is the call graph for this function:| Auth_OpenID_Signatory::$dumb_key = 'http://localhost/|dumb' | 
Definition at line 1309 of file Server.php.
Referenced by createAssociation(), getAssociation(), and invalidate().
| Auth_OpenID_Signatory::$normal_key = 'http://localhost/|normal' | 
Definition at line 1308 of file Server.php.
Referenced by createAssociation(), getAssociation(), and invalidate().
| Auth_OpenID_Signatory::$SECRET_LIFETIME = 1209600 | 
Definition at line 1302 of file Server.php.