16 lines
569 B
C++
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_
|