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.
282 283 284 285 286 287 |
# File 'lib/openid/server.rb', line 282 def initialize(*args) super @session_type = "DH-SHA256" @hash_func = CryptUtil.method(:sha256) @allowed_assoc_types = ["HMAC-SHA256"].freeze end |