PdfPublicKeyEncryptionHandler Constructor (Stream, String)

Creates a new instance of Public-Key Security encryption handler with owner 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 ownerKeyStoreStream,
	string password
)
VB
Public Sub New ( 
	ownerKeyStoreStream As Stream,
	password As String
)

Parameters

ownerKeyStoreStream
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.

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