#include "components/trusted_vault/trusted_vault_server_constants.h"
#include <string_view>
#include "base/base64url.h"
#include "base/containers/fixed_flat_map.h"
#include "net/base/url_util.h"
namespace trusted_vault {
std::vector<uint8_t> GetConstantTrustedVaultKey() { … }
GURL GetGetSecurityDomainMembersURL(const GURL& server_url) { … }
GURL GetGetSecurityDomainMemberURL(const GURL& server_url,
base::span<const uint8_t> public_key) { … }
GURL GetGetSecurityDomainURL(const GURL& server_url,
SecurityDomainId security_domain) { … }
GURL GetJoinSecurityDomainURL(const GURL& server_url,
SecurityDomainId security_domain) { … }
GURL GetGetSecurityDomainMembersURLForTesting(
const std::optional<std::string>& next_page_token,
const GURL& server_url) { … }
GURL GetFullJoinSecurityDomainsURLForTesting(const GURL& server_url,
SecurityDomainId security_domain) { … }
GURL GetFullGetSecurityDomainMemberURLForTesting(
const GURL& server_url,
base::span<const uint8_t> public_key) { … }
GURL GetFullGetSecurityDomainURLForTesting(const GURL& server_url,
SecurityDomainId security_domain) { … }
std::string GetSecurityDomainPath(SecurityDomainId domain) { … }
std::optional<SecurityDomainId> GetSecurityDomainByName(std::string_view name) { … }
std::string_view GetSecurityDomainName(SecurityDomainId id) { … }
}