Package 

Class Encryption

  • All Implemented Interfaces:
    android.os.Parcelable , org.readium.r2.shared.JSONable

    
    public final class Encryption
     implements JSONable, Parcelable
                        

    Indicates that a resource is encrypted/obfuscated and provides relevant information for decryption.

    • Constructor Detail

      • Encryption

        Encryption(String algorithm, String compression, Long originalLength, String profile, String scheme)
        Parameters:
        algorithm - Identifies the algorithm used to encrypt the resource (URI).
        compression - Compression method used on the resource.
        originalLength - Original length of the resource in bytes before compression and/or encryption.
        profile - Identifies the encryption profile used to encrypt the resource (URI).
        scheme - Identifies the encryption scheme used to encrypt the resource (URI).