Class OpenID::Server::Signatory
In: lib/openid/server.rb
Parent: Object

Object responsible for signing responses, and checking signatures.

Methods

Attributes

dumb_key  [R] 

Public Class methods

Accepts an object that implements the OpenID::Store interface. See OpenID::FilesystemStore for a simple file based store.

Public Instance methods

Get an association by assoc_handle and mode

Invalidate an association by assoc_handle and mode

Sign a response, creating a signature based on everything in it‘s signed array. Returns a new response object with sig and signed values in its field set.

Verify that the signature for some data is valid.

Paramters

assoc_handle
The association handle used to get the secret out of the store, and passed in via openid.assoc_handle.
sig
Value of openid.sig
signed_pairs
Array of Array pairs of key, value signed data.
dumb
boolean representing whether this is a dumb mode request

[Validate]