WordPackageSigningOptionsFluent
OfficeIMO.Word
The fluent methods of WordPackageSigningOptions, 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
- WordPackageSigningOptionsFluent
Methods
public static WordPackageSigningOptions AdditionalCertificates(WordPackageSigningOptions wordPackageSigningOptions, IReadOnlyCollection<X509Certificate2>? value) #Sets WordPackageSigningOptions.AdditionalCertificates: Gets or sets optional intermediate or root certificates embedded with the signer certificate.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value System.Collections.Generic.IReadOnlyCollection<System.Security.Cryptography.X509Certificates.X509Certificate2>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { AdditionalCertificates = value }; wordPackageSigningOptions.AdditionalCertificates(value);public static WordPackageSigningOptions HashAlgorithm(WordPackageSigningOptions wordPackageSigningOptions, string value) #Sets WordPackageSigningOptions.HashAlgorithm: Gets or sets the XML DSig hash algorithm URI.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { HashAlgorithm = value }; wordPackageSigningOptions.HashAlgorithm(value);public static WordPackageSigningOptions IncludePackageRelationships(WordPackageSigningOptions wordPackageSigningOptions, bool value = true) #Sets WordPackageSigningOptions.IncludePackageRelationships: Gets or sets whether package-level relationships are included in the signature.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { IncludePackageRelationships = value }; wordPackageSigningOptions.IncludePackageRelationships(value);public static WordPackageSigningOptions IncludePartRelationships(WordPackageSigningOptions wordPackageSigningOptions, bool value = true) #Sets WordPackageSigningOptions.IncludePartRelationships: Gets or sets whether relationships owned by individual package parts are included in the signature.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { IncludePartRelationships = value }; wordPackageSigningOptions.IncludePartRelationships(value);public static WordPackageSigningOptions MaxCertificateBytes(WordPackageSigningOptions wordPackageSigningOptions, long value) #Sets WordPackageSigningOptions.MaxCertificateBytes: Gets or sets the maximum encoded bytes for one embedded certificate. Defaults to 4 MiB.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxCertificateBytes = value }; wordPackageSigningOptions.MaxCertificateBytes(value);public static WordPackageSigningOptions MaxCertificates(WordPackageSigningOptions wordPackageSigningOptions, int value) #Sets WordPackageSigningOptions.MaxCertificates: Gets or sets the maximum signer and additional certificates embedded in the created signature. Defaults to 64.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxCertificates = value }; wordPackageSigningOptions.MaxCertificates(value);public static WordPackageSigningOptions MaxPackageBytes(WordPackageSigningOptions wordPackageSigningOptions, long value) #Sets WordPackageSigningOptions.MaxPackageBytes: Gets or sets the maximum encoded package bytes accepted while signing. Defaults to 512 MiB.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxPackageBytes = value }; wordPackageSigningOptions.MaxPackageBytes(value);public static WordPackageSigningOptions MaxPackageParts(WordPackageSigningOptions wordPackageSigningOptions, int value) #Sets WordPackageSigningOptions.MaxPackageParts: Gets or sets the maximum number of ZIP entries accepted while signing. Defaults to 10,000.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxPackageParts = value }; wordPackageSigningOptions.MaxPackageParts(value);public static WordPackageSigningOptions MaxPartBytes(WordPackageSigningOptions wordPackageSigningOptions, long value) #Sets WordPackageSigningOptions.MaxPartBytes: Gets or sets the maximum uncompressed bytes read from one signed part. Defaults to 256 MiB.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxPartBytes = value }; wordPackageSigningOptions.MaxPartBytes(value);public static WordPackageSigningOptions MaxSignatureBytes(WordPackageSigningOptions wordPackageSigningOptions, long value) #Sets WordPackageSigningOptions.MaxSignatureBytes: Gets or sets the maximum encoded bytes for the generated XML signature part. Defaults to 16 MiB.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxSignatureBytes = value }; wordPackageSigningOptions.MaxSignatureBytes(value);public static WordPackageSigningOptions MaxSignedReferences(WordPackageSigningOptions wordPackageSigningOptions, int value) #Sets WordPackageSigningOptions.MaxSignedReferences: Gets or sets the maximum authenticated XML signature references and relationship selectors created per signature. Defaults to 4,096.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxSignedReferences = value }; wordPackageSigningOptions.MaxSignedReferences(value);public static WordPackageSigningOptions MaxTotalCertificateBytes(WordPackageSigningOptions wordPackageSigningOptions, long value) #Sets WordPackageSigningOptions.MaxTotalCertificateBytes: Gets or sets the maximum aggregate encoded certificate bytes embedded in the created signature. Defaults to 64 MiB.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxTotalCertificateBytes = value }; wordPackageSigningOptions.MaxTotalCertificateBytes(value);public static WordPackageSigningOptions MaxTotalDigestBytes(WordPackageSigningOptions wordPackageSigningOptions, long value) #Sets WordPackageSigningOptions.MaxTotalDigestBytes: Gets or sets the maximum aggregate uncompressed package-part bytes digested while signing. Defaults to 512 MiB.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { MaxTotalDigestBytes = value }; wordPackageSigningOptions.MaxTotalDigestBytes(value);public static WordPackageSigningOptions PartUris(WordPackageSigningOptions wordPackageSigningOptions, IReadOnlyCollection<string>? value) #Sets WordPackageSigningOptions.PartUris: Gets or sets explicit package-part URIs to sign. When null, all existing non-signature package parts are signed.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value System.Collections.Generic.IReadOnlyCollection<string>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { PartUris = value }; wordPackageSigningOptions.PartUris(value);public static WordPackageSigningOptions SignatureId(WordPackageSigningOptions wordPackageSigningOptions, string? value) #Sets WordPackageSigningOptions.SignatureId: Gets or sets an optional signature id.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { SignatureId = value }; wordPackageSigningOptions.SignatureId(value);public static WordPackageSigningOptions SigningTime(WordPackageSigningOptions wordPackageSigningOptions, DateTimeOffset? value) #Sets WordPackageSigningOptions.SigningTime: Gets or sets the claimed OPC signing time. Current UTC time is used when omitted. This is signed metadata, not an RFC 3161 timestamp-authority token.
Parameters
- wordPackageSigningOptions OfficeIMO.Word.WordPackageSigningOptions
- The instance.
- value System.DateTimeOffset?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordPackageSigningOptions { SigningTime = value }; wordPackageSigningOptions.SigningTime(value);