(document, options = {})
| 31 | } |
| 32 | |
| 33 | static create(document, options = {}) { |
| 34 | if (!options.ownerPassword && !options.userPassword) { |
| 35 | return null; |
| 36 | } |
| 37 | return new PDFSecurity(document, options); |
| 38 | } |
| 39 | |
| 40 | constructor(document, options = {}) { |
| 41 | if (!options.ownerPassword && !options.userPassword) { |
no outgoing calls
no test coverage detected