Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficePackageSigningOptions

Namespace OfficeIMO.Security
Assembly OfficeIMO.Core
Modifiers sealed

Options for signing an Open Packaging Convention package.

Inheritance

  • Object
  • OfficePackageSigningOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Properties

public IReadOnlyCollection<String> PartUris { get; set; } #

Package-part URIs to sign, or null to sign every eligible package part.

public Boolean IncludePackageRelationships { get; set; } #

Whether to authenticate selected root-package relationships.

public Boolean IncludePartRelationships { get; set; } #

Whether to authenticate relationships owned by signed parts.

public String HashAlgorithm { get; set; } #

XML DSig digest algorithm URI. The implementation accepts its bounded supported set only.

public String SignatureId { get; set; } #

Optional XML signature identifier.

public Nullable<DateTimeOffset> SigningTime { get; set; } #

Optional signing time; UTC now is used when omitted.

public IReadOnlyCollection<X509Certificate2> AdditionalCertificates { get; set; } #

Additional certificates to embed after the signing certificate.

public Int32 MaxPackageParts { get; set; } #

Maximum number of package parts accepted for signing.

public Int64 MaxPackageBytes { get; set; } #

Maximum package size in bytes accepted for signing.

public Int64 MaxPartBytes { get; set; } #

Maximum uncompressed size in bytes of one signed part.

public Int64 MaxTotalDigestBytes { get; set; } #

Maximum aggregate bytes read while calculating package digests.

public Int32 MaxSignedReferences { get; set; } #

Maximum authenticated part references and relationship selectors.

public Int64 MaxSignatureBytes { get; set; } #

Maximum generated XML signature size in bytes.

public Int32 MaxCertificates { get; set; } #

Maximum number of certificates embedded in the signature.

public Int64 MaxCertificateBytes { get; set; } #

Maximum encoded size in bytes of one certificate.

public Int64 MaxTotalCertificateBytes { get; set; } #

Maximum aggregate encoded certificate bytes.