Class: OpenID::Server::DiffieHellmanSHA256ServerSession
- Inherits:
-
DiffieHellmanSHA1ServerSession
- Object
- BaseServerSession
- DiffieHellmanSHA1ServerSession
- OpenID::Server::DiffieHellmanSHA256ServerSession
- Defined in:
- lib/openid/server.rb
Instance Attribute Summary
Attributes inherited from DiffieHellmanSHA1ServerSession
#consumer_pubkey, #dh, #session_type
Attributes inherited from BaseServerSession
Instance Method Summary collapse
-
#initialize(*args) ⇒ DiffieHellmanSHA256ServerSession
constructor
A new instance of DiffieHellmanSHA256ServerSession.
Methods inherited from DiffieHellmanSHA1ServerSession
Methods inherited from BaseServerSession
Constructor Details
#initialize(*args) ⇒ DiffieHellmanSHA256ServerSession
Returns a new instance of DiffieHellmanSHA256ServerSession.
272 273 274 275 276 277 |
# File 'lib/openid/server.rb', line 272 def initialize(*args) super(*args) @session_type = 'DH-SHA256' @hash_func = CryptUtil.method('sha256') @allowed_assoc_types = ['HMAC-SHA256'].freeze end |