11 #include "commons/Buffer.h" 21 typedef CCryptoSession* (*GET_CRYPTO_SESSION_INTERFACE_FN)(
const std::string& UUID,
const std::string& cipherAlgo,
const std::string& hmacAlgo);
27 static CCryptoSession* GetCryptoSession(
const std::string& UUID,
const std::string& cipherAlgo,
const std::string& macAlgo);
32 virtual std::string GetPropertyString(
const std::string& name) = 0;
34 virtual void RemoveKeys() = 0;
35 virtual void RestoreKeys(
const std::string& keySetId) = 0;
36 virtual void SetPropertyString(
const std::string& name,
const std::string& value) = 0;
45 static void RegisterInterface(GET_CRYPTO_SESSION_INTERFACE_FN fn);
48 static std::vector<GET_CRYPTO_SESSION_INTERFACE_FN> s_registeredInterfaces;
Definition: DrmCryptoSession.h:18
Definition: CryptoSession.h:23
This class is based on the java java.nio.Buffer class however, it does not implement the 'mark' funct...
Definition: Buffer.h:79