Safe Haskell | None |
---|---|
Language | Haskell2010 |
Basic support for encrypted PDF files
Synopsis
- type Decryptor = Ref -> DecryptorScope -> InputStream ByteString -> IO (InputStream ByteString)
- data DecryptorScope
- defaultUserPassword :: ByteString
- mkStandardDecryptor :: Dict -> Dict -> ByteString -> Either String (Maybe Decryptor)
- decryptObject :: Decryptor -> Ref -> Object -> IO Object
Documentation
type Decryptor = Ref -> DecryptorScope -> InputStream ByteString -> IO (InputStream ByteString) Source #
Decrypt input stream
data DecryptorScope Source #
Encryption handler may specify different encryption keys for strings and streams
defaultUserPassword :: ByteString Source #
The default user password