HttpTlsCipherList.h 1.0 KB

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