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


Crypt-NSS documentation  | view source Contained in the Crypt-NSS distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  # 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

Top

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.


Crypt-NSS documentation  | view source Contained in the Crypt-NSS distribution.