Versions in this module Expand all Collapse all v1 v1.2.1 Jan 8, 2020 v1.2.0 Dec 10, 2019 Changes in this version + type AwsKmsProviderOptions struct + AccessKeyID string + SecretAccessKey string + func AwsKmsProvider() *AwsKmsProviderOptions + func (akpo *AwsKmsProviderOptions) SetAccessKeyID(accessKeyID string) *AwsKmsProviderOptions + func (akpo *AwsKmsProviderOptions) SetSecretAccessKey(secretAccessKey string) *AwsKmsProviderOptions + type DataKeyOptions struct + KeyAltNames []string + MasterKey bsoncore.Document + func DataKey() *DataKeyOptions + func (dko *DataKeyOptions) SetKeyAltNames(names []string) *DataKeyOptions + func (dko *DataKeyOptions) SetMasterKey(key bsoncore.Document) *DataKeyOptions + type ExplicitEncryptionOptions struct + Algorithm string + KeyAltName *string + KeyID *primitive.Binary + func ExplicitEncryption() *ExplicitEncryptionOptions + func (eeo *ExplicitEncryptionOptions) SetAlgorithm(algorithm string) *ExplicitEncryptionOptions + func (eeo *ExplicitEncryptionOptions) SetKeyAltName(keyAltName string) *ExplicitEncryptionOptions + func (eeo *ExplicitEncryptionOptions) SetKeyID(keyID primitive.Binary) *ExplicitEncryptionOptions + type LocalKmsProviderOptions struct + MasterKey []byte + func LocalKmsProvider() *LocalKmsProviderOptions + func (lkpo *LocalKmsProviderOptions) SetMasterKey(key []byte) *LocalKmsProviderOptions + type MongoCryptOptions struct + AwsProviderOpts *AwsKmsProviderOptions + LocalProviderOpts *LocalKmsProviderOptions + LocalSchemaMap map[string]bsoncore.Document + func MongoCrypt() *MongoCryptOptions + func (mo *MongoCryptOptions) SetAwsProviderOptions(awsOpts *AwsKmsProviderOptions) *MongoCryptOptions + func (mo *MongoCryptOptions) SetLocalProviderOptions(localOpts *LocalKmsProviderOptions) *MongoCryptOptions + func (mo *MongoCryptOptions) SetLocalSchemaMap(localSchemaMap map[string]bsoncore.Document) *MongoCryptOptions