// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_ENTERPRISE_CLIENT_CERTIFICATES_CORE_CONSTANTS_H_
#define COMPONENTS_ENTERPRISE_CLIENT_CERTIFICATES_CORE_CONSTANTS_H_

#include <cstdint>

namespace client_certificates {

// Name of the identity representing a managed Profile. This value also
// represents the permanent identity location where new identities will be
// committed when the key pair needs to be rotated.
extern const char kManagedProfileIdentityName[];

// Name of the identity representing a managed Browser. This value also
// represents the permanent identity location where new identities will be
// committed when the key pair needs to be rotated.
extern const char kManagedBrowserIdentityName[];

// Name of the temporary storage location of an identity during key pair
// rotation.
extern const char kTemporaryManagedProfileIdentityName[];

// Name of the temporary storage location of an identity during key pair
// rotation for a managed browser.
extern const char kTemporaryManagedBrowserIdentityName[];

// Key name used within a key-value context for the private key.
extern const char kKey[];

// Key name used within a key-value context for the private key source.
extern const char kKeySource[];

// Key name used within a key-value context for encompassing the signing key and
// key source.
extern const char kKeyDetails[];

// Key name used within a key-value context for a certificate.
extern const char kCertificate[];

// Number of days before a certificate's expiration date when it is considered
// to be expiring soon.
extern const int kDaysBeforeExpiration;

}  // namespace client_certificates

#endif  // COMPONENTS_ENTERPRISE_CLIENT_CERTIFICATES_CORE_CONSTANTS_H_
