Net::Jabber::Key(3pm) User Contributed Perl Documentation Net::Jabber::Key(3pm)NAME
Net::Jabber::Key - Jabber Key Library
SYNOPSIS
Net::Jabber::Key is a module that provides a developer easy access
to generating, caching, and comparing keys.
DESCRIPTION
Key.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");
METHODS
Basic 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.
AUTHOR
By Ryan Eatmon in May of 2000 for http://jabber.org.
COPYRIGHT
This 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)
Check Out this Related Man Page
Net::Jabber::Loudmouth::Proxy(3pm) User Contributed Perl Documentation Net::Jabber::Loudmouth::Proxy(3pm)NAME
Net::Jabber::Loudmouth::Proxy - Jabber proxy
HIERARCHY
Glib::Boxed
+----Net::Jabber::Loudmouth::Proxy
METHODS
proxy = Net::Jabber::Loudmouth::Proxy->new ($type)
o $type (Net::Jabber::Loudmouth::ProxyType)
proxy = Net::Jabber::Loudmouth::Proxy->new_with_server ($type, $server, $port)
o $type (Net::Jabber::Loudmouth::ProxyType)
o $server (string)
o $port (integer)
string = $proxy->get_password
$proxy->set_password ($password)
o $password (string)
integer = $proxy->get_port
$proxy->set_port ($port)
o $port (integer)
string = $proxy->get_server
$proxy->set_server ($server)
o $server (string)
proxytype = $proxy->get_type
$proxy->set_type ($type)
o $type (Net::Jabber::Loudmouth::ProxyType)
string = $proxy->get_username
$proxy->set_username ($username)
o $username (string)
ENUMS AND FLAGS
enum Net::Jabber::Loudmouth::ProxyType
o 'none' / 'LM_PROXY_TYPE_NONE'
o 'http' / 'LM_PROXY_TYPE_HTTP'
SEE ALSO
Net::Jabber::Loudmouth, Glib::Boxed
COPYRIGHT
Copyright (C) 2005 by Florian Ragwitz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2011-11-15 Net::Jabber::Loudmouth::Proxy(3pm)
I am an auditor and we are currently trying to identify the "Key" files in the AIX OS that we would want to be notified about if changed. I'm looking for some advice on critical files that should not change unless specifically requested by the admin. Then checksum those files and review them as... (1 Reply)
hie. i would want to disable the function key F3 from Unix Sco. I could not do this from my apllication due to its limitatation. i included the following line in the .profile file
stty susp .
Unfortunately this is disabling all the function keys.
Is there a way in which i can disable... (1 Reply)
Hi. Im wondering if there is a way to output key presses using a script? Something like this:
key=down
key=down
key=up
So say if it was sent to Firefox it would make the window scroll down twice then up once. (1 Reply)
Hi team,
Print Screen key is disabled in my machine. How can i enable it?? How do i do that via command line?? Or tell me in GUI.. Am using Linux Fedora 14 OS. (2 Replies)
Hi Experts ,
we have a CDC file where we need to get the latest record of the Key columns
Key Columns will be CDC_FLAG and SRC_PMTN_I
and fetch the latest record from the CDC_PRCS_TS
Can we do it with a single awk command.
Please help.... (3 Replies)
Hi All,
I need to find the count of key occurrence from one file corresponding to another file. Any help please. I am planning to read the CUST_ID in a while loop and do a grep , is there a way to do easier
CUST_ID
677582806078
687582821181
687582828910
687582834580
687582834849... (1 Reply)