Crypt-NSS

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.01  2008-10-05
    - Initial non-development release
    - Updated docs
    - More tests
    - Added INSTALL instructions
    - and more of NSS API bridged

0.01_04  2008-10-04
    - Read and write to sockets
    - Some API changes
    - Start on callbacks
    
0.01_03  2008-09-27
    - More updates to SSL sockets
    - The correct name is Crypt::NSS (bad Claes for not checking CPAN)
    - Added missing license file
    
0.01_02  2008-09-26
    - Updates on SSL bindings
    - Renamed to Crypto::NSS
    

lib/Net/NSS/SSL.pm  view on Meta::CPAN


=back

This method also works with SSL options if passed a numeric argument as exported by C<Crypt::NSS::Constants qw(:ssl)> and 
passing either C<SSL_OPTION_ENABLED> or C<SSL_OPTION_DISABLED> as the value.

=item set_pkcs11_pin_arg ( $arg : scalar  )

=item get_pkcs11_pin_arg ( ) : scalar

Sets or gets the argument that is passed along to pkcs11 callbacks for the given socket. I<$arg> can be any Perl scalar 
but in most cases you'll just want this to be a string. 

The default password callback (L<Crypt::NSS::PKCS11/set_password_hook>), returns this value.

=item set_URL ( $host : string )

=item get_URL ( ) : string

Set or get the domain name of the host we connect to (or actually what the CN in the servers certificate says). This 
is used in handshaking and if not matching the handshake will fail.



( run in 3.769 seconds using v1.01-cache-2.11-cpan-9b1e4054eb1 )