mongo-drivergo.mongodb.org/mongo-driver/internal/csfle Index | Files
Deprecated: Use go.mongodb.org/mongo-driver/v2 instead.

package csfle

import "go.mongodb.org/mongo-driver/internal/csfle"

Index

Constants

const (
	EncryptedCacheCollection      = "ecc"
	EncryptedStateCollection      = "esc"
	EncryptedCompactionCollection = "ecoc"
)

Functions

func GetEncryptedStateCollectionName

func GetEncryptedStateCollectionName(efBSON bsoncore.Document, dataCollectionName string, stateCollection string) (string, error)

GetEncryptedStateCollectionName returns the encrypted state collection name associated with dataCollectionName.

Source Files

csfle.go

Version
v1.17.9 (latest)
Published
Feb 6, 2026
Platform
linux/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.