iTextSharp.text.pdf.PdfEncryptor.IsAssemblyAllowed C# (CSharp) Method

IsAssemblyAllowed() public static method

public static IsAssemblyAllowed ( int permissions ) : bool
permissions int
return bool
        public static bool IsAssemblyAllowed(int permissions)
        {
            return (PdfWriter.ALLOW_ASSEMBLY & permissions) == PdfWriter.ALLOW_ASSEMBLY;
        }