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

An object that knows how to handle Diffie Hellman (DH-SHA1) association requests.

Methods

answer   from_query   new  

Attributes

consumer_pubkey  [R] 
dh  [R] 
session_type  [R] 

Public Class methods

Creates a new DiffieHellmanServerSession from the incoming request. Raises a ProtocolError for malformed requests, and returns a DiffieHellmanServerSession instnace on success.

In general you should create instances of DiffieHellmanServerSession with the from_query class method.

Parameters

dh
OpenID::DiffieHellman instance
consumer_pubkey
Decoded "openid.dh_consumer_public".

Public Instance methods

Generate the arguments to be added to the response using secret.

[Validate]