]> git.proxmox.com Git - mirror_edk2.git/blob - NetworkPkg/Include/Guid/HttpTlsCipherList.h
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / Include / Guid / HttpTlsCipherList.h
1 /** @file
2 This file defines the HttpTlsCipherList variable for HTTPS to configure Tls Cipher List.
3
4 Copyright (c) 2018 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __HTTP_TLS_CIPHER_LIST_H__
10 #define __HTTP_TLS_CIPHER_LIST_H__
11
12 //
13 // Private Variable for HTTPS to configure Tls Cipher List.
14 // The valid contents of variable must follow the TLS CipherList format defined in RFC 5246.
15 // The valid length of variable must be an integral multiple of 2.
16 // For example, if below cipher suites are preferred:
17 // CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256 = {0x00,0x3C}
18 // CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256 = {0x00,0x3D}
19 // Then, the contents of variable should be:
20 // {0x00,0x3C,0x00,0x3D}
21 //
22 #define EDKII_HTTP_TLS_CIPHER_LIST_GUID \
23 { \
24 0x46ddb415, 0x5244, 0x49c7, { 0x93, 0x74, 0xf0, 0xe2, 0x98, 0xe7, 0xd3, 0x86 } \
25 }
26
27 #define EDKII_HTTP_TLS_CIPHER_LIST_VARIABLE L"HttpTlsCipherList"
28
29 extern EFI_GUID gEdkiiHttpTlsCipherListGuid;
30
31 #endif
32