Add a static method to query security level
[ Merge of http://go/wvgerrit/70665 ] This allows one to be able to query for security level, from Crypto factory methods before the plugins and CdmEngine objects have been created. Bug: 117104043 Test: WV Unit/integration tests Change-Id: Id07f420c3cfb92166cd3bb3cf82148d52e10eb03
This commit is contained in:
@@ -80,6 +80,9 @@ class WvContentDecryptionModule : public android::RefBase, public TimerHandler {
|
||||
virtual CdmResponseType QueryOemCryptoSessionId(
|
||||
const CdmSessionId& session_id, CdmQueryMap* response);
|
||||
|
||||
// Query security level support
|
||||
static bool IsSecurityLevelSupported(CdmSecurityLevel level);
|
||||
|
||||
// Provisioning related methods
|
||||
virtual CdmResponseType GetProvisioningRequest(
|
||||
CdmCertificateType cert_type, const std::string& cert_authority,
|
||||
|
||||
Reference in New Issue
Block a user