Package-level declarations

Types

Link copied to clipboard
object Aes

Pure-Kotlin AES (FIPS 197), modes ECB-decrypt + CBC-decrypt for PDF V4/V5 Standard Security Handlers. Supports 128-bit and 256-bit keys.

Link copied to clipboard
object Decryptor

Walks a freshly-parsed PdfObject tree and decrypts strings + streams in place using a StandardSecurityHandler. The object number / generation of the enclosing indirect object is the per-object key seed.

Link copied to clipboard
object Md5

Pure-Kotlin MD5 (RFC 1321).

Link copied to clipboard
object Rc4

Pure-Kotlin RC4 stream cipher (RSA Data Security, Inc., 1987).

Link copied to clipboard
object Sha256

Pure-Kotlin SHA-256 (FIPS 180-4).

Link copied to clipboard
class StandardSecurityHandler(encryptDict: PdfDictionary, fileIdFirst: ByteArray, userPassword: ByteArray = byteArrayOf(), ownerPassword: ByteArray = byteArrayOf())

PDF Standard Security Handler (ISO 32000-1 §7.6.4).