func (c *x509Conversation) FirstMessage() (bsoncore.Document, error) {
	return createFirstX509Message(description.Server{}, ""), nil
}
FirstMessage returns the first message to be sent to the server.
package auth
import (
	"context"
	"go.mongodb.org/mongo-driver/mongo/description"
	"go.mongodb.org/mongo-driver/x/bsonx/bsoncore"
	"go.mongodb.org/mongo-driver/x/mongo/driver"
	"go.mongodb.org/mongo-driver/x/mongo/driver/operation"
)
const MongoDBX509 = "MONGODB-X509"
func newMongoDBX509Authenticator(cred *Cred) (Authenticator, error) {
	return &MongoDBX509Authenticator{User: cred.Username}, nil
}
type MongoDBX509Authenticator struct {
	User string
}
var _ SpeculativeAuthenticator = (*MongoDBX509Authenticator)(nil)
type x509Conversation struct{}
var _ SpeculativeConversation = (*x509Conversation)(nil)