Files
ce_cdm/core/include/license_protocol_conversions.h
2024-09-05 07:02:36 +00:00

16 lines
569 B
C++

// Copyright 2022 Google LLC. All Rights Reserved. This file and proprietary
// source code may only be used and distributed under the Widevine License
// Agreement.
#ifndef WVCDM_CORE_LICENSE_PROTOCOL_CONVERSIONS_H_
#define WVCDM_CORE_LICENSE_PROTOCOL_CONVERSIONS_H_
#include "OEMCryptoCENC.h"
#include "license_protocol.pb.h"
namespace wvcdm {
bool OecAlgorithmToProtoAlgorithm(
OEMCrypto_SignatureHashAlgorithm oec_algorithm,
video_widevine::HashAlgorithmProto& proto_algorithm);
} // namespace wvcdm
#endif // WVCDM_CORE_LICENSE_PROTOCOL_CONVERSIONS_H_