module HexaPDF::Filter::Crypt
This filter module implements the Crypt
filter. The only supported part is using the Identity filter.
Public Class Methods
decoder(source, options)
click to toggle source
See HexaPDF::Filter
# File lib/hexapdf/filter/crypt.rb, line 46 def self.decoder(source, options) if !options || !options.key?(:Name) || options[:Name] == :Identity source else raise FilterError, "Handling of Crypt filters besides Identity is not implemented" end end