Method: TinyDTLS::SecurityConfig#initialize
- Defined in:
- lib/tinydtls/security_conf.rb
#initialize ⇒ SecurityConfig
Creates a new instance of this class. At least one key/identity pair need to be added to the new instance of this class using #add_client otherwise the #default_id and #default_key methods always raise an error causing TinyDTLS handshakes to fail.
55 56 57 |
# File 'lib/tinydtls/security_conf.rb', line 55 def initialize @identity_map = Hash.new end |