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:
@@ -151,6 +151,9 @@ class CdmEngine {
|
||||
virtual CdmResponseType QueryKeyStatus(const CdmSessionId& session_id,
|
||||
CdmQueryMap* query_response);
|
||||
|
||||
// Query security level support
|
||||
static bool IsSecurityLevelSupported(CdmSecurityLevel level);
|
||||
|
||||
// Query the types of usage permitted for the specified key.
|
||||
virtual CdmResponseType QueryKeyAllowedUsage(const CdmSessionId& session_id,
|
||||
const std::string& key_id,
|
||||
|
||||
Reference in New Issue
Block a user