PdfPublicKeyEncryptionHandler Constructor (X509Certificate2)

Creates a new instance of Public-Key Security encryption handler using the specified owner certificate.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfPublicKeyEncryptionHandler(
	X509Certificate2 ownerCertificate
)
VB
Public Sub New ( 
	ownerCertificate As X509Certificate2
)

Parameters

ownerCertificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
The owner certificate to use while encrypting data.

Remarks

An owner certificate allows full (owner) access to the document. This unlimited access includes the ability to change the document's encryption and access permissions.

See Also