File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -591,11 +591,12 @@ def encrypt(
591
591
:class:`~bson.binary.Binary` with subtype 4 (
592
592
:attr:`~bson.binary.UUID_SUBTYPE`).
593
593
- `key_alt_name`: Identifies a key vault document by 'keyAltName'.
594
- - `index_key_id` (bytes): the index key id to use for Queryable Encryption.
594
+ - `index_key_id`: The index key id to use for Queryable Encryption. Must be
595
+ a :class:`~bson.binary.Binary` with subtype 4 (:attr:`~bson.binary.UUID_SUBTYPE`).
595
596
- `query_type` (int): The query type to execute. See
596
597
:class:`QueryType` for valid options.
597
598
- `contention_factor` (int): The contention factor to use
598
- when the algorithm is "Indexed" .
599
+ when the algorithm is :attr:`Algorithm.INDEXED` .
599
600
600
601
:Returns:
601
602
The encrypted value, a :class:`~bson.binary.Binary` with subtype 6.
You can’t perform that action at this time.
0 commit comments