PdfPublicKeyEncryptionHandler.AddOwner Method (String, String)

Adds a new recipient with owner permissions using the specified key store file.

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

Syntax

C#
public void AddOwner(
	string ownerKeyStorePath,
	string password
)
VB
Public Sub AddOwner ( 
	ownerKeyStorePath As String,
	password As String
)

Parameters

ownerKeyStorePath
Type: System.String
The path to the PFX / PKCS #12 key store file.
password
Type: System.String
The password to read the key store file.

Remarks

The certificate in the keystore is assumed to be an owner certificate.

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