PdfPublicKeyEncryptionHandler Constructor (Stream, String, PdfPermissions)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfPublicKeyEncryptionHandler Class > PdfPublicKeyEncryptionHandler Constructor > PdfPublicKeyEncryptionHandler Constructor (Stream, String, PdfPermissions)
Creates a new instance of Public-Key Security encryption handler 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 PdfPublicKeyEncryptionHandler(
	Stream keyStoreStream,
	string password,
	PdfPermissions permissions
)
VB
Public Sub New ( 
	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 document recipient.

See Also