---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/EncryptionInfo
---

# EncryptionInfo

## Overview

`EncryptionInfo` is a class in Aspose.PDF FOSS for .NET.

Information about a document's encryption.

Properties: `Algorithm`, `HasOwnerPassword`, `HasUserPassword`, `KeyLength`, `Revision`, `Version`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Algorithm` | `CryptoAlgorithm` | Read/Write | Gets or sets the algorithm. |
| `KeyLength` | `int` | Read/Write | Gets or sets the key length. |
| `Version` | `int` | Read/Write | Gets or sets the version. |
| `Revision` | `int` | Read/Write | Gets or sets the revision. |
| `HasUserPassword` | `bool` | Read/Write | Gets or sets the has user password. |
| `HasOwnerPassword` | `bool` | Read/Write | Gets or sets the has owner password. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)