lcp library

Classes

AcquiredPublication
AuthenticatedLicense
@param document License Document being opened.
BytesLicenseContainer
CbcLcpResource
ContentKey
CrlService
DeviceRepository
DeviceService
DrmContext
Encryption
EpubLicenseContainer
Event
EventType
FullLcpResource
A LCP resource that is read, decrypted and cached fully before reading requested ranges.
LcpAuthenticating
LcpClient
LcpContentProtection
LcpContentProtectionService
LcpDatabase
LcpDecryptor
Decrypts a resource protected with LCP.
LcpError
LcplLicenseContainer
LcpLocalizations
LcpParsingError
LcpPassphraseAuthentication
An LcpAuthenticating implementation which can directly use a provided clear or hashed passphrase.
LcpResult<T>
LcpService
LcpServiceFactory
License
LicenseContainer
Encapsulates the read/write access to the packaged License Document (eg. in an EPUB container, or a standalone LCPL file).
LicenseDocument
Document that contains references to the various keys, links to related external resources, rights and restrictions that are applied to the Protected Publication, and user information.
LicenseRel
LicensesRepository
LicensesService
LicenseValidation
LicenseValidationDocument
LicenseValidationLicenseDocument
LicenseValidationStatusDocument
Method
NetworkService
PassphrasesRepository
PassphrasesService
PotentialRights
Rights
Signature
Status
Describes the status of the license.
StatusDocument
Document that contains information about the history of a License Document, along with its current status and available interactions.
StatusRel
ToUint8List
User
UserKey
ValidatedDocuments
WebPubLicenseContainer
ZipLicenseContainer

Mixins

Lcp
LcpLicense
RenewListener
UX delegate for the loan renew LSD interaction.

Functions

fromCode(int code) DRMError

Typedefs

Observer = void Function(ValidatedDocuments?, Exception?)

Exceptions / Errors

ContainerException
Errors while reading or writing a LCP container (LCPL, EPUB, LCPDF, etc.)
Decryption
DRMException
InvalidRenewalPeriod
Incorrect renewal period, your publication could not be renewed.
LcpException
LicenseIntegrity
An error occurred while checking the integrity of the License, it can't be retrieved.
LicenseStatus
Errors while checking the status of the License, using the Status Document.
NetworkException
Parsing
Errors while parsing the License or Status JSON Documents.
Renew
Errors while renewing a loan.
Return
Errors while returning a loan.
Url