PdfPublicKeyEncryptionHandler.AddOwner Method (Stream, String)

Adds a new recipient 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 void AddOwner(
	Stream ownerKeyStoreStream,
	string password
)
VB
Public Sub AddOwner ( 
	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