added encrypted pdf password support