Query: munin::common::tls
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Munin::Common::TLS(3pm) User Contributed Perl Documentation Munin::Common::TLS(3pm)NAMEMunin::Node::TLS - Abstract base class implementing the STARTTLS protocolSYNOPSISShould not be called directly. See synopsis for Munin::Common::TLSServer and Munin::Common::TLSClient.METHODSnew my $tls = Munin::Common::TLSFoo->new({ # Substitute Foo with Client or Server # Mandatory attributes: logger => &a_logger_func, read_fd => fileno($socket), read_func => &a_socket_read_func, write_fd => fileno($socket), write_func => &a_socket_read_func, # Optional attributes DEFAULTS DEBUG => 0, # 0 tls_ca_cert => "path/to/ca/cert.pem", # '' tls_cert => "path/to/cert.pem", # '' tls_paranoia => 1, # 0 tls_priv => "path/to/priv_key.pem", # '' tls_vdepth => 5, # 0 tls_verify => 1, # 0 }); Constructor. Should not be called directly. This documents the attributes that are in common for Munin::Common::TLSServer and Munin::Common::TLSClient. read my $msg = $tls->read(); Encrypted read. write $tls->write($msg); Encrypted write. session_started my $bool = $tls->session_started(); Returns true if the tls object is ready to read/write encrypted data. perl v5.14.2 2013-11-12 Munin::Common::TLS(3pm)
Related Man Pages |
---|
munin-cron(8) - debian |
munin::master::group(3pm) - debian |
munin::master::htmlold(3pm) - debian |
munin::node::snmpconfig(3pm) - debian |
munin(8) - centos |
Similar Topics in the Unix Linux Community |
---|
How can I do this in VI editor? |
Introduction |
Detecting unused variables... |
One instance of comparing grep and awk |
Find columns in a file based on header and print to new file |