| Index: chromeos/attestation/attestation_flow.h
|
| diff --git a/chromeos/attestation/attestation_flow.h b/chromeos/attestation/attestation_flow.h
|
| index be3fcdf0e61d4a4b0a259e89b8fd7517f1e43cc8..26a7292d60a9d4eab6901f21e268e31b6a799846 100644
|
| --- a/chromeos/attestation/attestation_flow.h
|
| +++ b/chromeos/attestation/attestation_flow.h
|
| @@ -57,6 +57,26 @@ class CHROMEOS_EXPORT AttestationFlow {
|
| const std::string& pem_certificate_chain)>
|
| CertificateCallback;
|
|
|
| + // Returns the attestation key type for a given |certificate_profile|.
|
| + //
|
| + // Parameters
|
| + // certificate_profile - Specifies what kind of certificate the key is for.
|
| + static AttestationKeyType GetKeyTypeForProfile(
|
| + AttestationCertificateProfile certificate_profile);
|
| +
|
| + // Returns the name of the key for a given certificate profile. The
|
| + // |request_origin| parameter is for PROFILE_CONTENT_PROTECTION_CERTIFICATE
|
| + // profiles and is ignored for other profiles.
|
| + //
|
| + // Parameters
|
| + // certificate_profile - Specifies what kind of certificate the key is for.
|
| + // request_origin - For content protection profiles, certificate requests
|
| + // are origin-specific. This string must uniquely identify
|
| + // the origin of the request.
|
| + static std::string GetKeyNameForProfile(
|
| + AttestationCertificateProfile certificate_profile,
|
| + const std::string& request_origin);
|
| +
|
| AttestationFlow(cryptohome::AsyncMethodCaller* async_caller,
|
| CryptohomeClient* cryptohome_client,
|
| std::unique_ptr<ServerProxy> server_proxy);
|
|
|