PdfPublicKeyEncryptionHandler.AddOwner Method (X509Certificate2)

Adds a new recipient with owner permissions using the specified owner certificate.

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

Syntax

C#
public void AddOwner(
	X509Certificate2 ownerCertificate
)
VB
Public Sub AddOwner ( 
	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