class PDF::Reader::NullSecurityHandler
A null object security handler. Used when a PDF is unencrypted.
Public Class Methods
supports?(encrypt)
click to toggle source
# File lib/pdf/reader/null_security_handler.rb, line 9 def self.supports?(encrypt) encrypt.nil? end
Public Instance Methods
decrypt(buf, _ref)
click to toggle source
# File lib/pdf/reader/null_security_handler.rb, line 13 def decrypt(buf, _ref) buf end