aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-27 09:49:24 -0500
committerJack Lloyd <[email protected]>2018-02-27 09:51:19 -0500
commit45edefdf92ced2fdbf16bd9ecfea8de24732dc52 (patch)
tree3b9a770439bd29c337bf982c239ab1656dd4f34e /doc/manual
parent3b11611ec3082318a1d484c16c291ee3b5ef4393 (diff)
Format warning in a ReST warning block [ci skip]
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/pkcs11.rst28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/manual/pkcs11.rst b/doc/manual/pkcs11.rst
index cef8c6484..e7b5bea26 100644
--- a/doc/manual/pkcs11.rst
+++ b/doc/manual/pkcs11.rst
@@ -18,11 +18,12 @@ or HSM specific code for each device they want to support.
The Botan PKCS#11 interface is implemented against version v2.40 of the standard.
-Botan wraps the C PKCS#11 API to provide a C++ PKCS#11 interface. This is done in two
-levels of abstraction: a low level API (see :ref:`pkcs11_low_level`) and a high level API (see :ref:`pkcs11_high_level`). The low level API provides
-access to all functions that are specified by the standard. The high level API represents
-an object oriented approach to use PKCS#11 compatible devices but only provides a subset
-of the functions described in the standard.
+Botan wraps the C PKCS#11 API to provide a C++ PKCS#11 interface. This is done
+in two levels of abstraction: a low level API (see :ref:`pkcs11_low_level`) and
+a high level API (see :ref:`pkcs11_high_level`). The low level API provides
+access to all functions that are specified by the standard. The high level API
+represents an object oriented approach to use PKCS#11 compatible devices but
+only provides a subset of the functions described in the standard.
To use the PKCS#11 implementation the ``pkcs11`` module has to be enabled.
@@ -1248,16 +1249,15 @@ The following PIN and SO-PIN/PUK values are used in tests:
- PIN 123456
- SO-PIN/PUK 12345678
-!!! Warning !!!
+ .. warning::
-Unlike the CardOS (4.4, 5.0, 5.3), the aforementioned SO-PIN/PUK is inappropriate for Gemalto (IDPrime MD 3840) cards,
-as it must be a byte array of length 24. For this reason some of the tests for Gemalto card involving SO-PIN will fail.
-You run into a risk of exceding login attempts and as a result locking your card!
-Currently, specifying pin via command-line option is not implemented, and therefore the desired PIN must
-be modified in the header src/tests/test_pkcs11.h:
-
-
-Code example:
+ Unlike the CardOS (4.4, 5.0, 5.3), the aforementioned SO-PIN/PUK is
+ inappropriate for Gemalto (IDPrime MD 3840) cards, as it must be a byte array
+ of length 24. For this reason some of the tests for Gemalto card involving
+ SO-PIN will fail. You run into a risk of exceding login attempts and as a
+ result locking your card! Currently, specifying pin via command-line option
+ is not implemented, and therefore the desired PIN must be modified in the
+ header src/tests/test_pkcs11.h:
.. code-block:: cpp