Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XBMCAddon::xbmcdrm::CryptoSession Class Reference

#include <DrmCryptoSession.h>

Inheritance diagram for XBMCAddon::xbmcdrm::CryptoSession:
XBMCAddon::AddonClass

Public Member Functions

 CryptoSession (const String &UUID, const String &cipherAlgorithm, const String &macAlgorithm)
 
 ~CryptoSession () override
 
 GetKeyRequest (...)
 

Function: GetKeyRequest(init, mimeType, offlineKey, optionalParameters)


Generate a key request
 
 GetPropertyString (...)
 

Function: GetPropertyString(name)


Request a system specific property value of the DRM system.
 
 ProvideKeyResponse (...)
 

Function: ProvideKeyResponse(response)


Provide a key response
 
 RemoveKeys (...)
 

Function: RemoveKeys()


Removes all keys currently loaded in a session.
 
 RestoreKeys (...)
 

Function: RestoreKeys(keySetId)


Restores session keys stored during previous ProvideKeyResponse call.
 
 SetPropertyString (...)
 

Function: SetPropertyString(name, value)


Set a system specific property value in the DRM system.
 
 Decrypt (...)
 

Function: Decrypt(cipherKeyId, input, iv)


Decrypt an encrypted data by using session keys.
 
 Encrypt (...)
 

Function: Encrypt(cipherKeyId, input, iv)


Encrypt data by using session keys.
 
 Sign (...)
 

Function: Sign(macKeyId, message)


Generate a DRM encrypted signature for a text message.
 
 Verify (...)
 

Function: Verify(macKeyId, message, signature)


Verify the validity of a DRM signature of a text message.
 
- Public Member Functions inherited from XBMCAddon::AddonClass
 AddonClass ()
 
virtual ~AddonClass ()
 
const char * GetClassname () const
 
LanguageHookGetLanguageHook ()
 
bool isDeallocating ()
 
void Release () const
 
void Acquire () const
 

Additional Inherited Members

- Static Public Member Functions inherited from XBMCAddon::AddonClass
static short getNumAddonClasses ()
 
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()
 
- Static Protected Member Functions inherited from XBMCAddon::AddonClass
static short getNextClassIndex ()
 
- Protected Attributes inherited from XBMCAddon::AddonClass
LanguageHooklanguageHook
 

Constructor & Destructor Documentation

◆ CryptoSession()

XBMCAddon::xbmcdrm::CryptoSession::CryptoSession ( const String & UUID,
const String & cipherAlgorithm,
const String & macAlgorithm )

◆ ~CryptoSession()

XBMCAddon::xbmcdrm::CryptoSession::~CryptoSession ( )
override

The documentation for this class was generated from the following files: