Query: net::jabber::key
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Net::Jabber::Key(3pm) User Contributed Perl Documentation Net::Jabber::Key(3pm)NAMENet::Jabber::Key - Jabber Key LibrarySYNOPSISNet::Jabber::Key is a module that provides a developer easy access to generating, caching, and comparing keys.DESCRIPTIONKey.pm is a helper module for the Net::Jabber::Transport. When the Transport talks to a Client it sends a key and expects to get that key back from the Client. This module provides an API to generate, cache, and then compare the key send from the Client. Basic Functions $Key = new Net::Jabber::Key(); $key = $Key->Generate(); $key = $Key->Create("bob@jabber.org"); $test = $Key->Compare("bob@jabber.org","some key");METHODSBasic Functions new(debug=>string, - creates the Key object. debug should debugfh=>FileHandle, be set to the path for the debug debuglevel=>integer) log to be written. If set to "stdout" then the debug will go there. Also, you can specify a filehandle that already exists and use that. debuglevel controls the amount of debug. 0 is none, 1 is normal, 2 is all. Generate() - returns a key in Digest SHA1 form based on the current time and the PID. Create(cacheString) - generates a key and caches it with the key of cacheString. Create returns the key. Compare(cacheString, - compares the key stored in the cache under keyString) cacheString with the keyString. Returns 1 if they match, and 0 otherwise.AUTHORBy Ryan Eatmon in May of 2000 for http://jabber.org.COPYRIGHTThis module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2013-03-25 Net::Jabber::Key(3pm)
Related Man Pages |
---|
net::jabber::dialback::result(3) - suse |
net::jabber::key(3) - suse |
net::jabber(3pm) - debian |
net::jabber::dialback::result(3pm) - debian |
net::jabber::dialback::verify(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Key Scripter 0.9 (Default branch) |
Key Scripter 1.1 beta (Default branch) |
Key Scripter 1.4 (Default branch) |
jig 0.3 (Default branch) |
Sending Key Presses |