Add a certificate to trusted certificate list.
Used by UserDB to create a basic password entry
Used by UserDB to create a digest password entry
Retrieves a password from the database for user in realm. If reload_db is true the database will be reloaded first.
Removes a password from the database for user in realm.
Retrieves a password from the database for user in realm. If reload_db is true the database will be reloaded first.
Removes a password from the database for user in realm.
Allow custom handling of requests for files with suffix by class handler
Remove custom handling of requests for files with suffix
A FormData will behave like an Array
Returns the base label of this frame.
Usually same as label, without decoration.
Returns the full file path of this frame.
Same as path, but includes the absolute path.
Check is passed argument valid ‘number’ in RFC 3501 terminology
Ensure argument is ‘number’ or raise DataFormatError
Creates an obscured password in realm with user and password using the auth_type of this database.
Retrieves a password in realm for user for the auth_type of this database. reload_db is a dummy value.
Returns the Object#object_id of the internal object.
Extracts addr from IPV6_PKTINFO ancillary data.
IPV6_PKTINFO is defined by RFC 3542.
addr = Addrinfo.ip("::1") ifindex = 0 ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex) p ancdata.ipv6_pktinfo_addr #=> #<Addrinfo: ::1>
Extracts ifindex from IPV6_PKTINFO ancillary data.
IPV6_PKTINFO is defined by RFC 3542.
addr = Addrinfo.ip("::1") ifindex = 0 ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex) p ancdata.ipv6_pktinfo_ifindex #=> 0
Creates a new Socket::Option object for IP_MULTICAST_TTL.
The size is dependent on the platform.
p Socket::Option.ipv4_multicast_ttl(10) #=> #<Socket::Option: INET IP MULTICAST_TTL 10>