PdfPublicKeyEncryptionHandler.AddRecipient Method (String, String, PdfPermissions)

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

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

Syntax

C#
public void AddRecipient(
	string keyStorePath,
	string password,
	PdfPermissions permissions
)
VB
Public Sub AddRecipient ( 
	keyStorePath As String,
	password As String,
	permissions As PdfPermissions
)

Parameters

keyStorePath
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.
permissions
Type: BitMiracle.Docotic.Pdf.PdfPermissions
The permissions to grant for the recipient.

See Also