Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf91b27

Browse files
authored
Merge pull request#4540 from Rohde-Schwarz/feature/pkcs11v32
PKCS#11 Version 3.2 Support
2 parents222c911 +75fff43 commitdf91b27

File tree

16 files changed

+5201
-3603
lines changed

16 files changed

+5201
-3603
lines changed

‎doc/api_ref/pkcs11.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ or HSM specific code for each device they want to support.
1616

1717
..note::
1818

19-
The Botan PKCS#11 interface is implemented against version v2.40 of the standard.
19+
The Botan PKCS#11 interface is implemented against version v3.2 of the standard.
20+
Versions 2.40 upto 3.2 are supported, but only the 3.2 headers are shipped with Botan.
2021

2122
Botan wraps the C PKCS#11 API to provide a C++ PKCS#11 interface. This is done
2223
in two levels of abstraction: a low level API (see:ref:`pkcs11_low_level`) and
@@ -39,7 +40,9 @@ Low Level API
3940
The PKCS#11 standards committee provides header files (``pkcs11.h``, ``pkcs11f.h`` and
4041
``pkcs11t.h``) which define the PKCS#11 API in the C programming language. These
4142
header files could be used directly to access PKCS#11 compatible smart cards or
42-
HSMs. The external header files are shipped with Botan in version v2.4 of the standard. The PKCS#11 low
43+
HSMs. A public domain variant of these header files is shipped with Botan in
44+
version v3.2 (Draft wd13) of the standard. This variant is interchangeable with the original
45+
v3.2 header files of OASIS. The PKCS#11 low
4346
level API wraps the original PKCS#11 API, but still allows to access all functions described in the
4447
standard and has the advantage that it is a C++ interface with features like RAII, exceptions
4548
and automatic memory management.

‎src/configs/typos.toml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[files]
22
extend-exclude = [
33
"src/lib/prov/pkcs11/pkcs11.h",
4-
"src/lib/prov/pkcs11/pkcs11t.h",
5-
"src/lib/prov/pkcs11/pkcs11f.h",
64
"src/build-data/cc/msvc.txt",
75
"src/build-data/cc/clangcl.txt",
86
"doc/authors.txt",

‎src/lib/prov/pkcs11/info.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ pubkey
1515

1616
<header:external>
1717
pkcs11.h
18-
pkcs11f.h
19-
pkcs11t.h
2018
</header:external>
2119

2220
<header:public>

‎src/lib/prov/pkcs11/p11.cpp‎

Lines changed: 684 additions & 139 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp