Claes Jakobsson > Crypt-NSS > Net::NSS::SSL::LWPCompat

Download:
Crypt-NSS-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Net::NSS::SSL::LWPCompat - Wrapper for Net::NSS::SSL to make it LWP compatible

SYNOPSIS ^

  # Using NSS for SSL connections from LWP
  use LWP;
  use Crypt::NSS config_dir => "$ENV{HOME}/.netscape";
  use Net::HTTPS;
  
  local @Net::HTTPS::ISA = qw(Net::NSS::SSL::LWPCompat Net::HTTP::Methods);
  
  my $content = get("https://secure.mycompany.com");

INTERFACE ^

CLASS METHODS

new ( $addr : string, %args )
new ( %args )

See "new" in Net::NSS::SSL

INSTANCE METHODS

get_cipher

"get_cipher" in Net::NSS::SSL

get_peer_certificate

"get_peer_certificate" in Net::NSS::SSL

peerhost

"peerhost" in Net::NSS::SSL

peerport

"peerport" in Net::NSS::SSL

sysread

"sysread" in Net::NSS::SSL

syswrite

"syswrite" in Net::NSS::SSL

can_read

Checks if there is data available to be read.

configure

Configures the socket, does nothing as this is done in the constructor.

blocking

Compat method that does nothing.

syntax highlighting: