class Epuber::EncryptionHandler::EncryptionItem

Attributes

algorithm[RW]

Encryption algorithm (probably EncryptionHandler::ADOBE_OBFUSCATION or EncryptionHandler::IDPF_OBFUSCATION)

@return [String]

file_path[RW]

Absolute path to file (from root of EPUB)

@return [String]

key[RW]

Encryption key for this file

@return [String, nil]

Public Class Methods

new(algorithm, file_path) click to toggle source

@param [String] algorithm @param [String] file_path

# File lib/epuber/from_file/encryption_handler.rb, line 31
def initialize(algorithm, file_path)
  @algorithm = algorithm
  @file_path = file_path
end