PdfPublicKeyEncryptionHandler.AddRecipient Method (Stream, String, PdfPermissions)

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

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

Syntax

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

Parameters

keyStoreStream
Type: System.IO.Stream
The stream with the PFX / PKCS #12 key store contents.
password
Type: System.String
The password to read the key store stream.
permissions
Type: BitMiracle.Docotic.Pdf.PdfPermissions
The permissions to grant for the recipient.

See Also