Skip to content

Commit c56a86d

Browse files
vieirognu-andrew
authored andcommitted
8331959: Update PKCS#11 Cryptographic Token Interface to v3.1
Reviewed-by: andrew Backport-of: e3b26387a3aa24640729086166fa52b6c5a6ea92
1 parent 6d469db commit c56a86d

File tree

4 files changed

+215
-131
lines changed

4 files changed

+215
-131
lines changed

src/jdk.crypto.cryptoki/share/legal/pkcs11cryptotoken.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
## OASIS PKCS #11 Cryptographic Token Interface v3.0
1+
## OASIS PKCS #11 Cryptographic Token Interface v3.1
22

33
### OASIS PKCS #11 Cryptographic Token Interface License
44
<pre>
55

6-
Copyright © OASIS Open 2020. All Rights Reserved.
6+
Copyright © OASIS Open 2023. All Rights Reserved.
77

8-
All capitalized terms in the following text have the meanings
8+
All capitalized terms in the following text have the meanings
99
assigned to them in the OASIS Intellectual Property Rights Policy (the
1010
"OASIS IPR Policy"). The full Policy may be found at the OASIS website:
11-
[http://www.oasis-open.org/policies-guidelines/ipr]
11+
[https://www.oasis-open.org/policies-guidelines/ipr/].
1212

13-
This document and translations of it may be copied and furnished to
13+
This document and translations of it may be copied and furnished to
1414
others, and derivative works that comment on or otherwise explain it or
1515
assist in its implementation may be prepared, copied, published, and
1616
distributed, in whole or in part, without restriction of any kind,
@@ -23,10 +23,10 @@ Committee (in which case the rules applicable to copyrights, as set
2323
forth in the OASIS IPR Policy, must be followed) or as required to
2424
translate it into languages other than English.
2525

26-
The limited permissions granted above are perpetual and will not be
26+
The limited permissions granted above are perpetual and will not be
2727
revoked by OASIS or its successors or assigns.
2828

29-
This document and the information contained herein is provided on an
29+
This document and the information contained herein is provided on an
3030
"AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
3131
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
3232
INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED
@@ -35,15 +35,19 @@ AND ITS MEMBERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
3535
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THIS DOCUMENT OR ANY
3636
PART THEREOF.
3737

38-
[OASIS requests that any OASIS Party or any other party that
38+
As stated in the OASIS IPR Policy, the following three paragraphs in
39+
brackets apply to OASIS Standards Final Deliverable documents (Committee
40+
Specifications, OASIS Standards, or Approved Errata).
41+
42+
[OASIS requests that any OASIS Party or any other party that
3943
believes it has patent claims that would necessarily be infringed by
4044
implementations of this OASIS Standards Final Deliverable, to notify
4145
OASIS TC Administrator and provide an indication of its willingness to
4246
grant patent licenses to such patent claims in a manner consistent with
4347
the IPR Mode of the OASIS Technical Committee that produced this
4448
deliverable.]
4549

46-
[OASIS invites any party to contact the OASIS TC Administrator if it
50+
[OASIS invites any party to contact the OASIS TC Administrator if it
4751
is aware of a claim of ownership of any patent claims that would
4852
necessarily be infringed by implementations of this OASIS Standards
4953
Final Deliverable by a patent holder that is not willing to provide a
@@ -52,7 +56,7 @@ of the OASIS Technical Committee that produced this OASIS Standards
5256
Final Deliverable. OASIS may include such claims on its website, but
5357
disclaims any obligation to do so.]
5458

55-
[OASIS takes no position regarding the validity or scope of any
59+
[OASIS takes no position regarding the validity or scope of any
5660
intellectual property or other rights that might be claimed to pertain
5761
to the implementation or use of the technology described in this OASIS
5862
Standards Final Deliverable or the extent to which any license under

src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11.h

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
/* Copyright (c) OASIS Open 2016-2019. All Rights Reserved.
2-
* Distributed under the terms of the OASIS IPR Policy,
3-
* [http://www.oasis-open.org/policies-guidelines/ipr], AS-IS, WITHOUT ANY
4-
* IMPLIED OR EXPRESS WARRANTY; there is no warranty of MERCHANTABILITY, FITNESS FOR A
5-
* PARTICULAR PURPOSE or NONINFRINGEMENT of the rights of others.
1+
/*
2+
* PKCS #11 Specification Version 3.1
3+
* OASIS Standard
4+
* 23 July 2023
5+
* Copyright (c) OASIS Open 2023. All Rights Reserved.
6+
* Source: https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/os/include/pkcs11-v3.1/
7+
* Latest stage of narrative specification: https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/pkcs11-spec-v3.1.html
8+
* TC IPR Statement: https://www.oasis-open.org/committees/pkcs11/ipr.php
69
*/
710

811
#ifndef _PKCS11_H_
@@ -47,7 +50,7 @@ extern "C" {
4750
*
4851
* typedef CK_BYTE CK_PTR CK_BYTE_PTR;
4952
*
50-
* If you're using windows, it might be defined by:
53+
* If you're using Windows, it might be defined by:
5154
*
5255
* #define CK_PTR *
5356
*
@@ -65,7 +68,7 @@ extern "C" {
6568
* CK_VOID_PTR pReserved
6669
* );
6770
*
68-
* If you're using Windows to declare a function in a Win32 cryptoki .dll,
71+
* If you're using Windows to declare a function in a Win32 Cryptoki .dll,
6972
* it might be defined by:
7073
*
7174
* #define CK_DECLARE_FUNCTION(returnType, name) \
@@ -241,4 +244,3 @@ struct CK_FUNCTION_LIST {
241244

242245
#endif /* _PKCS11_H_ */
243246

244-

src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11f.h

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
/* Copyright (c) OASIS Open 2016, 2019. All Rights Reserved./
2-
* /Distributed under the terms of the OASIS IPR Policy,
3-
* [http://www.oasis-open.org/policies-guidelines/ipr], AS-IS, WITHOUT ANY
4-
* IMPLIED OR EXPRESS WARRANTY; there is no warranty of MERCHANTABILITY, FITNESS FOR A
5-
* PARTICULAR PURPOSE or NONINFRINGEMENT of the rights of others.
6-
*/
7-
8-
/* Latest version of the specification:
9-
* http://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/pkcs11-base-v2.40.html
1+
/*
2+
* PKCS #11 Specification Version 3.1
3+
* OASIS Standard
4+
* 23 July 2023
5+
* Copyright (c) OASIS Open 2023. All Rights Reserved.
6+
* Source: https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/os/include/pkcs11-v3.1/
7+
* Latest stage of narrative specification: https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/pkcs11-spec-v3.1.html
8+
* TC IPR Statement: https://www.oasis-open.org/committees/pkcs11/ipr.php
109
*/
1110

1211
/* This header file contains pretty much everything about all the

0 commit comments

Comments
 (0)