This is a library for the Java platform which makes PKCS#11 (also known

as Cryptoki) modules accessible from within Java. A PKCS#11 module is a
software library with a defined API which allows access to cryptographic
hardware. It usually comes with hardware security modules (HSM), smart
cards and crypto tokens (e.g. USB tokens). Thus, the PKCS#11 Wrapper
provides Java software access to almost any crypto hardware. For
example, a Java application can use it to integrate a HSM or a smart
card to create digital signatures, to decrypt data or to unwrap keys.

WWW: http://jce.iaik.tugraz.at/sic/products/core_crypto_toolkits/pkcs_11_wrapper
This commit is contained in:
Alex Dupre 2007-02-23 07:06:58 +00:00
parent 5dd30c7a46
commit 22f49b2d64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185728
4 changed files with 65 additions and 0 deletions

View File

@ -180,6 +180,7 @@
SUBDIR += httprint
SUBDIR += hunch
SUBDIR += hydra
SUBDIR += iaikpkcs11wrapper
SUBDIR += idea
SUBDIR += ident2
SUBDIR += identify

View File

@ -0,0 +1,48 @@
# New ports collection makefile for: iaikPkcs11Wrapper
# Date created: 19 Feb 2007
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= iaikPkcs11Wrapper
PORTVERSION= 1.2.16
CATEGORIES= security java devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= A PKCS#11 Java wrapper
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.2+
JAVA_OS= native
USE_GMAKE= yes
ALL_TARGET= release
WRKSRC= ${WRKDIR}/native/platforms/linux
PLIST_FILES= lib/libpkcs11wrapper.so %%JAVAJARDIR%%/iaikPkcs11Wrapper.jar
PORTDOCS= *
do-install:
@${ECHO_MSG} -n ">> Installing JNI library in ${PREFIX}/lib..."
@${INSTALL_PROGRAM} ${WRKSRC}/release/libpkcs11wrapper.so ${PREFIX}/lib/
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/iaikPkcs11Wrapper.jar..."
@${INSTALL_DATA} ${WRKDIR}/java/lib/iaikPkcs11Wrapper.jar ${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${DOCSDIR}
@cd ${WRKDIR}/docs && ${FIND} * | \
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@cd ${WRKDIR}/java/docs && ${FIND} api-doc | \
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@${ECHO_MSG} " [ DONE ]"
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (iaikPkcs11Wrapper1.2.16.zip) = 53612e5499f63c1c4ae48b4f19a1955f
SHA256 (iaikPkcs11Wrapper1.2.16.zip) = 1fca5a63fc0426f8b6ad65b342c95bdaa3bd22e9574bd2f0d3df75e198fabeb7
SIZE (iaikPkcs11Wrapper1.2.16.zip) = 5588032

View File

@ -0,0 +1,13 @@
This is a library for the Java platform which makes PKCS#11 (also known
as Cryptoki) modules accessible from within Java. A PKCS#11 module is a
software library with a defined API which allows access to cryptographic
hardware. It usually comes with hardware security modules (HSM), smart
cards and crypto tokens (e.g. USB tokens). Thus, the PKCS#11 Wrapper
provides Java software access to almost any crypto hardware. For
example, a Java application can use it to integrate a HSM or a smart
card to create digital signatures, to decrypt data or to unwrap keys.
WWW: http://jce.iaik.tugraz.at/sic/products/core_crypto_toolkits/pkcs_11_wrapper
- Alex Dupre
ale@FreeBSD.org