mirror of
https://git.gay/ready-dl/pyplayready.git
synced 2025-08-03 12:55:52 +00:00
+ Added aescbc (symmetric/scalable) license support + Added license integrity verification using CI + Added matching of group key and certificate chain during provisioning + Removed wrm header downgrading
38 lines
1 KiB
Python
38 lines
1 KiB
Python
class PyPlayreadyException(Exception):
|
|
"""Exceptions used by pyplayready."""
|
|
|
|
|
|
class TooManySessions(PyPlayreadyException):
|
|
"""Too many Sessions are open."""
|
|
|
|
|
|
class InvalidSession(PyPlayreadyException):
|
|
"""No Session is open with the specified identifier."""
|
|
|
|
|
|
class InvalidPssh(PyPlayreadyException):
|
|
"""The Playready PSSH is invalid or empty."""
|
|
|
|
|
|
class InvalidInitData(PyPlayreadyException):
|
|
"""The Playready Cenc Header Data is invalid or empty."""
|
|
|
|
|
|
class DeviceMismatch(PyPlayreadyException):
|
|
"""The Remote CDMs Device information and the APIs Device information did not match."""
|
|
|
|
|
|
class InvalidLicense(PyPlayreadyException):
|
|
"""Unable to parse XMR License."""
|
|
|
|
|
|
class InvalidCertificate(PyPlayreadyException):
|
|
"""The BCert is not correctly formatted."""
|
|
|
|
|
|
class InvalidCertificateChain(PyPlayreadyException):
|
|
"""The BCertChain is not correctly formatted."""
|
|
|
|
|
|
class OutdatedDevice(PyPlayreadyException):
|
|
"""The PlayReady Device is outdated and does not support a specific operation."""
|