[JAVA-4766] Test that exception is thrown if RewrapManyDataKey is called with masterKey and without provider Created: 11/Oct/22  Updated: 15/Jun/23  Resolved: 15/Jun/23

Status: Closed
Project: Java Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Slav Babanin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2441 Error if RewrapManyDataKey is called ... Closed
Related
is related to JAVA-4717 rewrapManyDataKey doesn't throw an er... Closed
Quarter: FY24Q2
Upstream Changes Summary:

DRIVERS-2441:
If applicable, implement the "Case 2: RewrapManyDataKeyOpts.provider is not optional" specified in https://github.com/mongodb/specifications/commit/4703757119d96fa1438158ece0a30c2186f47800

If the test does not pass, this may suggest the driver needs to be changed to return an expected error when `RewrapManyDataKeyOpts.provider` is not set and `RewrapManyDataKeyOpts.masterKey` is set.

Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket was split from DRIVERS-2441, please see that ticket for a detailed description.


Generated at Thu Feb 08 09:02:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.