Sha256: 6169263dbd554ad7e574f4036a758389bc8a80fcce4276707abe7026737ed004
Contents?: true
Size: 382 Bytes
Versions: 11
Compression:
Stored size: 382 Bytes
Contents
# coding: utf-8 # typed: strict # 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
11 entries across 11 versions & 1 rubygems