## EncryptionPolicy enum


Enumerates the encryption policies.

```cpp
enum class EncryptionPolicy
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| RequireEncryption | 0 | Require encryption and never allow a 'Null' cipher. |
| AllowNoEncryption | 1 | Prefer using full encryption but a 'Null' cipher can be used if the server agrees. |
| NoEncryption | 2 | Allow no encryption and request that a 'Null' cipher be used if the other endpoint can handle a 'Null' cipher. |

## See Also

* Namespace [System::Net::Security](../)
* Library [Aspose.PDF for C++](../../)
