[CDRIVER-4463] Remove use of deprecated wincrypt.h functions Created: 29/Aug/22  Updated: 25/Jan/24

Status: Backlog
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Ezra Chung Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CDRIVER-4575

 Description   

wincrypt.h functions such as CryptQueryObject, CryptAcquireContext, and CryptImportKey used by mongoc-secure-channel.c are deprecated:

Important  This API is deprecated. New and existing software should start using Cryptography Next Generation APIs. Microsoft may remove this API in future releases.

These functions should be replaced with recommended modern alternatives.



 Comments   
Comment by Mandeep Singh [ 25/Jan/24 ]

Please also check if it makes sense to use unicode (i.e. wide char) versions  of the Windows APIs while implementation.

Generated at Wed Feb 07 21:20:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.