Revise cdm signing api and test

[ Merge of http://go/wvgerrit/178131 ]

Bug: 279671867
Bug: 279672538
Test: com.google.android.wvts
Change-Id: If2e2c6d250c0379c217b3f9b21efb197c9ae4fd6
(cherry picked from commit 1e05d16ddeaeff5de994e30aa713cd74bed21400)
This commit is contained in:
Kyle Zhang
2023-05-12 21:28:55 +00:00
parent bd389027a1
commit b0c3e69962
5 changed files with 28 additions and 22 deletions

View File

@@ -396,7 +396,7 @@ class CdmEngine {
// A signing method specifically used by Cast.
// This method should not be used otherwise.
virtual CdmResponseType SignRSA(const std::string& wrapped_key,
virtual CdmResponseType SignRsa(const std::string& wrapped_key,
const std::string& message,
std::string* signature,
RSA_Padding_Scheme padding_scheme);