Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPublicKeyEncryptionOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfPublicKeyEncryptionOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfPublicKeyEncryptionOptionsFluent

Methods

public static PdfPublicKeyEncryptionOptions AesCryptographyProvider(PdfPublicKeyEncryptionOptions pdfPublicKeyEncryptionOptions, IOfficeAesCryptographyProvider? value) #

Sets PdfPublicKeyEncryptionOptions.AesCryptographyProvider: Optional synchronous AES provider used when the host does not expose platform AES-CBC, such as browser WebAssembly.

Parameters

pdfPublicKeyEncryptionOptions OfficeIMO.Pdf.PdfPublicKeyEncryptionOptions required
The instance.
value OfficeIMO.Security.IOfficeAesCryptographyProvider? required
The value.

Returns

PdfPublicKeyEncryptionOptions The same instance.

Examples

// C# initializer or property                                     // C# fluent
pdfPublicKeyEncryptionOptions.AesCryptographyProvider = value;    pdfPublicKeyEncryptionOptions.AesCryptographyProvider(value);
public static PdfPublicKeyEncryptionOptions AllowedPermissions(PdfPublicKeyEncryptionOptions pdfPublicKeyEncryptionOptions, PdfStandardPermissions value) #

Sets PdfPublicKeyEncryptionOptions.AllowedPermissions: Operations every recipient may perform. Defaults to all standard operations.

Parameters

pdfPublicKeyEncryptionOptions OfficeIMO.Pdf.PdfPublicKeyEncryptionOptions required
The instance.
value OfficeIMO.Pdf.PdfStandardPermissions required
The value.

Returns

PdfPublicKeyEncryptionOptions The same instance.

Examples

// C# initializer or property                                // C# fluent
pdfPublicKeyEncryptionOptions.AllowedPermissions = value;    pdfPublicKeyEncryptionOptions.AllowedPermissions(value);
public static PdfPublicKeyEncryptionOptions EncryptMetadata(PdfPublicKeyEncryptionOptions pdfPublicKeyEncryptionOptions, bool value = true) #

Sets PdfPublicKeyEncryptionOptions.EncryptMetadata: Whether document metadata streams are encrypted. Defaults to true.

Parameters

pdfPublicKeyEncryptionOptions OfficeIMO.Pdf.PdfPublicKeyEncryptionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfPublicKeyEncryptionOptions The same instance.

Examples

// C# initializer or property                             // C# fluent
pdfPublicKeyEncryptionOptions.EncryptMetadata = value;    pdfPublicKeyEncryptionOptions.EncryptMetadata(value);