func WithRootCA(rootCA *x509.CertPool) UnmarshalOption {
	return func(cfg *unmarshalConfig) {
		cfg.rootCA = rootCA
	}
}
// WithRootCA sets the rootCA in the config.
WithRootCA sets the rootCA in the config.
// WithRootCA sets the rootCA in the config .
func WithRootCA(rootCA *x509.CertPool) UnmarshalOption {
	return func(cfg *unmarshalConfig) {
		cfg.rootCA = rootCA
	}
}
func WithRootCA ( rootCA * x509 . CertPool ) UnmarshalOption { return func ( cfg * unmarshalConfig ) { cfg . rootCA = rootCA } }
WithRootCA sets the rootCA in the config.
WithRootCA sets the rootCA in the config .