Méthode |
Description |
|
__construct ( $store ) |
Create a new signatory using a given store. |
|
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. |
|
sign ( $response ) |
Given a response, sign the fields in the response's 'signed'
list, and insert the signature into the response. |
|
verify ( $assoc_handle, $message ) |
Verify, using a given association handle, a signature with
signed key-value pairs from an HTTP request. |
|