---
title: "Class CertificateEncryptionOptions"
url: "https://reference.aspose.com/pdf/net/aspose.pdf.security/certificateencryptionoptions/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.Security.CertificateEncryptionOptions class. Represents a class for encrypting options a PDF document using a certificatebased encryption method. Used to open encrypted PDF documents"
---

## CertificateEncryptionOptions class

Represents a class for encrypting options a PDF document using a certificate-based encryption method. Used to open encrypted PDF documents.

```csharp
public class CertificateEncryptionOptions
```

## Constructors

| Name | Description |
| --- | --- |
| [CertificateEncryptionOptions](certificateencryptionoptions/#constructor_2)(string, StoreName, StoreLocation) | Creates an instance of `CertificateEncryptionOptions` class. |
| [CertificateEncryptionOptions](certificateencryptionoptions/#constructor_3)(string, string, string) | Creates an instance of `CertificateEncryptionOptions` class. |
| [CertificateEncryptionOptions](certificateencryptionoptions/#constructor)(X509Certificate2, StoreName, StoreLocation) | Creates an instance of `CertificateEncryptionOptions` class. |
| [CertificateEncryptionOptions](certificateencryptionoptions/#constructor_1)(X509Certificate2, string, string) | Creates an instance of `CertificateEncryptionOptions` class. |

### See Also

* namespace [Aspose.Pdf.Security](../../aspose.pdf.security/)
* assembly [Aspose.PDF](../../)


