Skip to content

dogtagpki/jss

Repository files navigation

Network Security Services for Java (JSS)

Overview

Network Security Services for Java is a Java interface to NSS. JSS supports most of the security standards and encryption technologies supported by NSS. JSS also provides a pure Java interface for ASN.1 types and BER/DER encoding.

NOTICE: As of JSS version 4.5.1, the legacy build instructions will not work; the build system has been completely replaced with CMake.

Dependencies

This project has the following dependencies:

To install these dependencies on Fedora, execute the following:

sudo dnf install apache-commons-lang gcc-c++ java-devel jpackage-utils \
                 slf4j zlib-devel nss-tools nss-devel \
                 cmake junit5

To install these dependencies on Debian, execute the following:

sudo apt-get install build-essential libcommons-lang-java libnss3-dev \
                     libslf4j-java default-jdk pkg-config zlib1g-dev \
                     libnss3-tools cmake zip unzip \
                     junit5

Building

To build JSS and make a best effort to detect environment variables:

git clone https://github.com/dogtagpki/jss
cd jss/build && cmake ..
make all test

Alternatively, to build a RPM distribution of JSS:

git clone https://github.com/dogtagpki/jss
cd jss
./build.sh rpm

To view more detailed instructions for building JSS, please refer to the build documentation: docs/building.md.

In Distributions

JSS is currently shipped in Fedora-based distributions under the package name dogtag-jss; to install issue sudo dnf install dogtag-jss.

JSS is also shipped in Debian-based distributions under the package name libjss-java; to install, issue sudo apt-get install libjss-java.

Contact Us

See Contact Us.