Options
All
  • Public
  • Public/Protected
  • All
Menu

Used for decrypting resources, encrypted with a specific encryption method.

IEncryptionMethod instances are typically used with a publication by adding them to a DrmManager.

Hierarchy

  • IEncryptionMethod

Implemented by

Index

Methods

decrypt

getName

  • getName(): string
  • Get the name of this encryption method.

    For XML encryption, this should be the EncryptionMethod element`s Algorithm attribute. For example, for the following XML, this method should return "http://www.idpf.org/2008/embedding":

     <enc:EncryptedData>
    <enc:EncryptionMethod Algorithm="http://www.idpf.org/2008/embedding"/>
    <enc:CipherData>
    <enc:CipherReference URI="EPUB/Fonts/BKANT.TTF"/>
    </enc:CipherData>
    </enc:EncryptedData>

    Returns string

Generated using TypeDoc