# OfficePackageSignatureInspectionOptions

Bounded structural OPC signature inspection policy.

Class 

`OfficeIMO.Security`

**Namespace**

`OfficeIMO.Security`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficePackageSignatureModels.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L20)

**Modifiers**

sealed

Bounded structural OPC signature inspection policy.

## Inheritance

- object
- OfficePackageSignatureInspectionOptions

## Usage

Explore 3 API references to this type

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

### Returned or exposed by 3

- Property [OfficePackageSignatureValidationOptions.Inspection](/api/core/officeimo-security-officepackagesignaturevalidationoptions/#property-inspection)
- Property [OfficeVbaSignatureInspectionOptions.Package](/api/core/officeimo-security-officevbasignatureinspectionoptions/#property-package)
- Property [OfficeVbaSigningOptions.Package](/api/core/officeimo-security-officevbasigningoptions/#property-package)

Filter members 

Show inherited

## Constructors

`public OfficePackageSignatureInspectionOptions()` [#](#constructor-ctor)

[OfficePackageSignatureModels.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L20)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public long MaxPackageBytes { get; set; }` [#](#property-maxpackagebytes)

[OfficePackageSignatureModels.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L20)

Maximum encoded package bytes. Defaults to 512 MiB.

`public int MaxPackageParts { get; set; }` [#](#property-maxpackageparts)

[OfficePackageSignatureModels.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L22)

Maximum package entries. Defaults to 10,000.

`public long MaxPartBytes { get; set; }` [#](#property-maxpartbytes)

[OfficePackageSignatureModels.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L24)

Maximum bytes read from one package part. Defaults to 256 MiB.

`public long MaxTotalDigestBytes { get; set; }` [#](#property-maxtotaldigestbytes)

[OfficePackageSignatureModels.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L26)

Maximum aggregate bytes read across signature parts and hashed package references. Defaults to 512 MiB.

`public int MaxSignatureParts { get; set; }` [#](#property-maxsignatureparts)

[OfficePackageSignatureModels.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L28)

Maximum XML signature parts. Defaults to 32.

`public long MaxSignatureBytes { get; set; }` [#](#property-maxsignaturebytes)

[OfficePackageSignatureModels.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L30)

Maximum bytes read from one signature part. Defaults to 16 MiB.

`public int MaxSignedReferences { get; set; }` [#](#property-maxsignedreferences)

[OfficePackageSignatureModels.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L32)

Maximum manifest references per signature. Defaults to 4,096.

`public int MaxCertificates { get; set; }` [#](#property-maxcertificates)

[OfficePackageSignatureModels.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L34)

Maximum embedded certificates per signature. Defaults to 64.

`public long MaxCertificateBytes { get; set; }` [#](#property-maxcertificatebytes)

[OfficePackageSignatureModels.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L36)

Maximum encoded bytes for one certificate. Defaults to 4 MiB.

`public long MaxTotalCertificateBytes { get; set; }` [#](#property-maxtotalcertificatebytes)

[OfficePackageSignatureModels.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L38)

Maximum aggregate decoded certificate bytes per signature. Defaults to 64 MiB.

`public bool VerifyDigests { get; set; }` [#](#property-verifydigests)

[OfficePackageSignatureModels.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/PackageSignatures/OfficePackageSignatureModels.cs#L40)

Whether supported OPC reference digests are verified. Defaults to true.

<!-- PowerForge markdown artifact sha256:003D705651E58127CE31B4E06AC1C5FD34F1142AF4C5428789C6B77070FF3276 -->
