mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8029661: Support TLS v1.2 algorithm in SunPKCS11 provider
TLS v1.2 algorithms for key and MAC derivation added to SunPKCS11 crypto provider. Reviewed-by: valeriep
This commit is contained in:
parent
52ba129b0a
commit
aafb2b0474
19 changed files with 1460 additions and 276 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
*/
|
||||
|
||||
/* Copyright (c) 2002 Graz University of Technology. All rights reserved.
|
||||
|
@ -625,6 +625,14 @@ public interface PKCS11Constants {
|
|||
public static final long CKM_PKCS5_PBKD2 = 0x000003B0L;
|
||||
|
||||
public static final long CKM_PBA_SHA1_WITH_SHA1_HMAC = 0x000003C0L;
|
||||
|
||||
/* CKM_TLS12_MASTER_KEY_DERIVE, CKM_TLS12_KEY_AND_MAC_DERIVE,
|
||||
* CKM_TLS12_MASTER_KEY_DERIVE_DH and CKM_TLS_MAC are new for v2.40 */
|
||||
public static final long CKM_TLS12_MASTER_KEY_DERIVE = 0x000003E0L;
|
||||
public static final long CKM_TLS12_KEY_AND_MAC_DERIVE = 0x000003E1L;
|
||||
public static final long CKM_TLS12_MASTER_KEY_DERIVE_DH = 0x000003E2L;
|
||||
public static final long CKM_TLS_MAC = 0x000003E4L;
|
||||
|
||||
public static final long CKM_KEY_WRAP_LYNKS = 0x00000400L;
|
||||
public static final long CKM_KEY_WRAP_SET_OAEP = 0x00000401L;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue