Package com.mongodb.crypt.capi
Class MongoRewrapManyDataKeyOptions
- java.lang.Object
-
- com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions
-
public class MongoRewrapManyDataKeyOptions extends java.lang.ObjectThe rewrap many data key optionsThe masterKey document MUST have the fields corresponding to the given provider as specified in masterKey.
- Since:
- 1.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMongoRewrapManyDataKeyOptions.BuilderOptions builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MongoRewrapManyDataKeyOptions.Builderbuilder()Create a builder for the options.org.bson.BsonDocumentgetMasterKey()Gets the master key for the data key.java.lang.StringgetProvider()
-
-
-
Method Detail
-
builder
public static MongoRewrapManyDataKeyOptions.Builder builder()
Create a builder for the options.- Returns:
- the builder
-
getProvider
public java.lang.String getProvider()
- Returns:
- the provider name
-
getMasterKey
public org.bson.BsonDocument getMasterKey()
Gets the master key for the data key.- Returns:
- the master key
-
-