Source release 19.3.0

This commit is contained in:
John W. Bruce
2024-09-05 07:02:36 +00:00
parent cd8256726f
commit 11c108a8da
122 changed files with 2259 additions and 1082 deletions

View File

@@ -14,6 +14,7 @@
#include "OEMCryptoCENCCommon.h"
#include "oemcrypto_ecc_key.h"
#include "oemcrypto_rsa_key.h"
#include "wv_class_utils.h"
namespace wvoec {
namespace util {
@@ -21,6 +22,9 @@ namespace util {
// OEMCrypto session's RSA/ECC private key.
class DrmPrivateKey {
public:
WVCDM_DISALLOW_COPY_AND_MOVE(DrmPrivateKey);
~DrmPrivateKey() = default;
// Create an RSA-based DRM key.
static std::unique_ptr<DrmPrivateKey> Create(
std::shared_ptr<RsaPrivateKey>&& rsa_key);
@@ -71,8 +75,6 @@ class DrmPrivateKey {
std::vector<uint8_t> GenerateRsaSignature(
const std::vector<uint8_t>& message) const;
~DrmPrivateKey() {}
private:
DrmPrivateKey() {}