---
title: "EncryptionInfo"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/encryptioninfo/"
---

# EncryptionInfo

```ts
type EncryptionInfo = EncryptionInfoJs;
```

Defined in: [packages/sdk/src/types.ts:1613](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L1613)

What a file's protection is, as the encryption inspector shows it ([Document.encryptionInfo](/reference/sdk/classes/document.md#encryptioninfo)):
the handler (`Standard`), its version and revision, the key length in bits, the ciphers strings
and streams use, whether the XMP metadata is encrypted, what `/P` permits, `/P` itself and which
password opened the file (`"user"` or `"owner"`). There is never a key in it.

## Since

0.7.0
