Johanna Amann

NAME

Alien::NSS - Alien wrapper for NSS ( Network Security Services )

DESCRIPTION

This library provides an alien wrapper for NSS, the cryptographic library that is ( among others ) used in Mozilla Firefox and Google Chrome.

SYNOPSIS

  use strict;
  use warnings;

  use Module::Build;
  use Alien::NSS;

  my $cflags = Alien::NSS->cflags;
  my $ldflags = Alien::NSS->libs;

  my $builder = Module::Build->new(
    module_name => 'my_lib',
    extra_compiler_flags => $cflags,
    extra_linker_flags => $ldflags,
    configure_requires => {
      'Alien::NSS => 0
    },
  );

  $builder->create_build_script;

INSTALLATION

Alien::NSS uses the Module::Build system for installation. The usual build process is

 perl Build.PL
 ./Build
 ./Build test
 ./Build install

Build Flags

When running perl Build.PL, certain command line flags may be passed:

--help

Print all possible additional command line parameters for Building Alien::NSS

--version=3_17_2

Specify the NSS version that should be installed. In this example, 3.17.2.

--patchnss

Apply a patch that deactivates CRL caching and checking during verification. This prevents certain problems when trying to load a high number of certificates into NSS. Apply only if you understand the consequences.

SOURCE REPOSITORY

https://github.com/0xxon/alien-nss

AUTHOR

Johanna Amann, <johanna@cpan.org<gt>