MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
data_key_options.hpp
Go to the documentation of this file.
1// Copyright 2009-present MongoDB, Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#pragma once
16
17#include <mongocxx/v1/data_key_options-fwd.hpp> // IWYU pragma: export
18
19//
20
22
25
27
29
30#include <cstdint>
31#include <string>
32#include <vector>
33
34namespace mongocxx {
35namespace v1 {
36
134
135} // namespace v1
136} // namespace mongocxx
137
138#include <mongocxx/v1/detail/postlude.hpp>
139
data_key_options & master_key(bsoncxx::v1::document::value master_key)
Set the "masterKey" field.
data_key_options & key_material(key_material_type key_material)
Set the "keyMaterial" field.
~data_key_options()
Destroy this object.
data_key_options & key_alt_names(std::vector< std::string > key_alt_names)
Set the "keyAltNames" field.
data_key_options(data_key_options &&other) noexcept
Move constructor.
std::vector< std::uint8_t > key_material_type
Binary data with a length of exactly 96 bytes.
Definition data_key_options.hpp:120
Declares mongocxx::v1::data_key_options.
Provides macros to control the set of symbols exported in the ABI.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v1 macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is guaranteed for documented symbols.
The top-level namespace within which all mongocxx library entities are declared.
Declares bsoncxx::v1::document::value.
Declares bsoncxx::v1::document::view.
Provides std::optional-related polyfills for library API usage.