adapted to openpace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@646 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
.. _npa:
|
.. _npa:
|
||||||
|
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
nPA smart card library
|
nPA Smart Card Library
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
|
|
||||||
:Author:
|
:Author:
|
||||||
@@ -20,11 +20,11 @@ nPA smart card library
|
|||||||
- Windows
|
- Windows
|
||||||
- Unix-like operating systems (Mac OS, Solaris, BSD, ...)
|
- Unix-like operating systems (Mac OS, Solaris, BSD, ...)
|
||||||
|
|
||||||
Welcome to the nPA smart card library. The purpose of the nPA smart card library is to offer an easy to use API for the new
|
Welcome to the nPA Smart Card Library. The purpose of the nPA Smart Card Library is to offer an easy to use API for the new
|
||||||
German identity card (neuer Personalausweis, nPA). The library also implements
|
German identity card (neuer Personalausweis, nPA). The library also implements
|
||||||
secure messaging, which could also be used for other cards.
|
secure messaging, which could also be used for other cards.
|
||||||
|
|
||||||
The nPA smart card library is implemented using OpenPACE_.
|
The nPA Smart Card Library is implemented using OpenPACE_.
|
||||||
Some fragments of the source code are based on the source code of the OpenSC tools.
|
Some fragments of the source code are based on the source code of the OpenSC tools.
|
||||||
|
|
||||||
The included npa-tool has support for Password Authenticated Connection
|
The included npa-tool has support for Password Authenticated Connection
|
||||||
@@ -36,7 +36,7 @@ APDUs inside a secure messaging channel established with PACE.
|
|||||||
|
|
||||||
.. include:: autotools.rst
|
.. include:: autotools.rst
|
||||||
|
|
||||||
The nPA smart card library has the following dependencies:
|
The nPA Smart Card Library has the following dependencies:
|
||||||
|
|
||||||
- OpenSC_
|
- OpenSC_
|
||||||
- OpenSSL with OpenPACE_
|
- OpenSSL with OpenPACE_
|
||||||
@@ -54,15 +54,15 @@ an example of how to get the standard installation of OpenSSL with OpenPACE_::
|
|||||||
svn co https://openpace.svn.sourceforge.net/svnroot/openpace $OPENPACE
|
svn co https://openpace.svn.sourceforge.net/svnroot/openpace $OPENPACE
|
||||||
cd $OPENPACE
|
cd $OPENPACE
|
||||||
make patch_with_openpace
|
make patch_with_openpace
|
||||||
cd openssl-*/
|
cd openpace
|
||||||
./config experimental-pace --prefix=$PREFIX
|
./config experimental-pace --prefix=$PREFIX
|
||||||
make depend
|
make depend
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
Building the nPA smart card library with OpenPACE_ is done best using :command:`pkg-config`. The file
|
Building the nPA Smart Card Library with OpenPACE_ is done best using :command:`pkg-config`. The file
|
||||||
:file:`libcrypto.pc` should be located in ``$INSTALL/lib/pkgconfig``. Here is how
|
:file:`libcrypto.pc` should be located in ``$INSTALL/lib/pkgconfig``. Here is how
|
||||||
to configure the nPA smart card library to use it::
|
to configure the nPA Smart Card Library to use it::
|
||||||
|
|
||||||
./configure PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
|
./configure PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ standard installation of OpenSC_::
|
|||||||
make install
|
make install
|
||||||
|
|
||||||
Now :file:`libopensc.so` should be located in ``$PREFIX/lib``. Here is how to
|
Now :file:`libopensc.so` should be located in ``$PREFIX/lib``. Here is how to
|
||||||
configure the nPA smart card library to use it::
|
configure the nPA Smart Card Library to use it::
|
||||||
|
|
||||||
./configure OPENSC_LIBS="-L$PREFIX/lib -lopensc"
|
./configure OPENSC_LIBS="-L$PREFIX/lib -lopensc"
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ Linking against libnpa
|
|||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
Following the section `Installation`_ above, you have installed OpenSC_,
|
Following the section `Installation`_ above, you have installed OpenSC_,
|
||||||
OpenPACE_ and the nPA smart card library to :file:`/tmp/install`. To compile a program using libnpa you
|
OpenPACE_ and the nPA Smart Card Library to :file:`/tmp/install`. To compile a program using libnpa you
|
||||||
need to get the header files from OpenSC_ as well.
|
need to get the header files from OpenSC_ as well.
|
||||||
Here is how
|
Here is how
|
||||||
to compile an external program with these libraries::
|
to compile an external program with these libraries::
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
Installation
|
Installation
|
||||||
=============
|
=============
|
||||||
|
|
||||||
The nPA smart card library uses the GNU Build System to compile and install. If you are
|
The nPA Smart Card Library uses the GNU Build System to compile and install. If you are
|
||||||
unfamiliar with it, please have a look at :file:`INSTALL`. If you have a look
|
unfamiliar with it, please have a look at :file:`INSTALL`. If you have a look
|
||||||
around and can not find it, you are probably working bleeding edge in the
|
around and can not find it, you are probably working bleeding edge in the
|
||||||
repository. Run the following command in :file:`npa` to
|
repository. Run the following command in :file:`npa` to
|
||||||
@@ -13,7 +13,7 @@ get the missing standard auxiliary files::
|
|||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
To configure (:command:`configure --help` lists possible options), build and
|
To configure (:command:`configure --help` lists possible options), build and
|
||||||
install the nPA smart card library now do the following::
|
install the nPA Smart Card Library now do the following::
|
||||||
|
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
|
|||||||
Reference in New Issue
Block a user