name

abstract val name: String

The name of the encryption method.

For EPUB, this property is used to match an <enc:EncryptionMethod Algorithm="..."> element from the encryption.xml file with an EncryptionMethod implementation. This is done by comparing the Algorithm attribute with EncryptionMethod.name.

For example, in order to decrypt the resource chapter01.xhtml that has the following entry in the encryption.xml:

<enc:EncryptedData>
<enc:EncryptionMethod Algorithm="http://www.colibro.com/bogus-encryption"/>
<enc:CipherData>
<enc:CipherReference URI="chapter01.xhtml"/>
</enc:CipherData>
</enc:EncryptedData>

There must be an EncryptionMethod where name is set to http://www.colibro.com/bogus-encryption.