Exposing the Cast Signing Algorithm
1. Exposing the Cast Signing Algorithm in cdm core. 2. Update core Cast tests to use new core CDM Cast signing API. Bug: 279671867 Bug: 279672538 Change-Id: Ia73c4b5e6dd61edf790bca97a321881d310e7a99
This commit is contained in:
@@ -1302,6 +1302,18 @@ bool CdmSession::HasRootOfTrustBeenRenewed() {
|
||||
return true;
|
||||
}
|
||||
|
||||
CdmResponseType CdmSession::LoadCastPrivateKey(
|
||||
const CryptoWrappedKey& private_key) {
|
||||
return crypto_session_->LoadCertificatePrivateKey(private_key);
|
||||
}
|
||||
|
||||
CdmResponseType CdmSession::GenerateRSASignature(const std::string& message,
|
||||
std::string* signature,
|
||||
RSA_Padding_Scheme scheme) {
|
||||
return crypto_session_->GenerateRsaSignature(message, signature,
|
||||
scheme);
|
||||
}
|
||||
|
||||
// For testing only - takes ownership of pointers
|
||||
|
||||
void CdmSession::set_license_parser(CdmLicense* license_parser) {
|
||||
|
||||
Reference in New Issue
Block a user