Sha256: 98abe118f982b2d8ba186a5de0ebf15bacca4a28e034b12e4155770453fa37bc
Contents?: true
Size: 366 Bytes
Versions: 10
Compression:
Stored size: 366 Bytes
Contents
# coding: utf-8 # frozen_string_literal: true class PDF::Reader # Security handler for when we don't support the flavour of encryption # used in a PDF. class UnimplementedSecurityHandler def self.supports?(encrypt) true end def decrypt(buf, ref) raise PDF::Reader::EncryptedPDFError, "Unsupported encryption style" end end end
Version data entries
10 entries across 9 versions & 2 rubygems