# OfficeProtectionCapability

One machine-readable protected-content capability row.

Class 

`OfficeIMO.Security`

**Namespace**

`OfficeIMO.Security`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeProtectionCapability.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L45)

**Modifiers**

sealed

One machine-readable protected-content capability row.

## Inheritance

- object
- OfficeProtectionCapability

## Usage

Explore 4 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

- Method [OfficeProtectionCapabilityCatalog.Get](/api/core/officeimo-security-officeprotectioncapabilitycatalog/#method-get-string)
- Property [OfficeProtectionCapabilityCatalog.Capabilities](/api/core/officeimo-security-officeprotectioncapabilitycatalog/#property-capabilities)
- Property [OfficeProtectionCapabilityCatalog.IncompleteCapabilities](/api/core/officeimo-security-officeprotectioncapabilitycatalog/#property-incompletecapabilities)

### Accepted by parameters 1

- Constructor [OfficeProtectionCapabilityCatalog.OfficeProtectionCapabilityCatalog](/api/core/officeimo-security-officeprotectioncapabilitycatalog/#constructor-ctor-string-int32-collections-generic-ienumerable-officeimo-security-officeprotectioncapability) parameter `capabilities`

Filter members 

Show inherited

## Constructors

OfficeProtectionCapability 2 overloads

`public OfficeProtectionCapability(string id, string formatId, string packageId, OfficeProtectionKind kind, OfficeProtectionCoverageState inspect, OfficeProtectionCoverageState open, OfficeProtectionCoverageState create, OfficeProtectionCoverageState validate, OfficeProtectionCoverageState mutate, OfficeProtectionCoverageState remove, string api, string limitation)` [#](#member-a005b64d24c035b8b8086000)

[OfficeProtectionCapability.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L45)

Creates one protected-content capability row without unsupported-operation dispositions.

Parameters

**id string required**

**formatId string required**

**packageId string required**

**kind OfficeIMO.Security.OfficeProtectionKind required**

**inspect OfficeIMO.Security.OfficeProtectionCoverageState required**

**open OfficeIMO.Security.OfficeProtectionCoverageState required**

**create OfficeIMO.Security.OfficeProtectionCoverageState required**

**validate OfficeIMO.Security.OfficeProtectionCoverageState required**

**mutate OfficeIMO.Security.OfficeProtectionCoverageState required**

**remove OfficeIMO.Security.OfficeProtectionCoverageState required**

**api string required**

**limitation string required**

`public OfficeProtectionCapability(string id, string formatId, string packageId, OfficeProtectionKind kind, OfficeProtectionCoverageState inspect, OfficeProtectionCoverageState open, OfficeProtectionCoverageState create, OfficeProtectionCoverageState validate, OfficeProtectionCoverageState mutate, OfficeProtectionCoverageState remove, string api, string limitation, IEnumerable<OfficeProtectionUnsupportedOperation>? unsupportedOperations)` [#](#member-c3228ffbe0a849beef7a0228)

[OfficeProtectionCapability.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L50)

Creates one protected-content capability row with explicit unsupported-operation dispositions.

Parameters

**id string required**

**formatId string required**

**packageId string required**

**kind OfficeIMO.Security.OfficeProtectionKind required**

**inspect OfficeIMO.Security.OfficeProtectionCoverageState required**

**open OfficeIMO.Security.OfficeProtectionCoverageState required**

**create OfficeIMO.Security.OfficeProtectionCoverageState required**

**validate OfficeIMO.Security.OfficeProtectionCoverageState required**

**mutate OfficeIMO.Security.OfficeProtectionCoverageState required**

**remove OfficeIMO.Security.OfficeProtectionCoverageState required**

**api string required**

**limitation string required**

**unsupportedOperations System.Collections.Generic.IEnumerable<OfficeIMO.Security.OfficeProtectionUnsupportedOperation>? required**

## Methods

`public OfficeProtectionCoverageState GetCoverage(OfficeProtectionOperation operation)` [#](#method-getcoverage-officeimo-security-officeprotectionoperation)

[OfficeProtectionCapability.cs:122](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L122)

Gets the coverage state for one operation.

Parameters

**operation OfficeIMO.Security.OfficeProtectionOperation required**

Returns

`OfficeProtectionCoverageState`

## 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 string Id { get; }` [#](#property-id)

[OfficeProtectionCapability.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L91)

Stable capability identifier.

`public string FormatId { get; }` [#](#property-formatid)

[OfficeProtectionCapability.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L93)

Format or format family.

`public string PackageId { get; }` [#](#property-packageid)

[OfficeProtectionCapability.cs:95](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L95)

Package that owns the format behavior.

`public OfficeProtectionKind Kind { get; }` [#](#property-kind)

[OfficeProtectionCapability.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L97)

Protection mechanism classification.

`public OfficeProtectionCoverageState Inspect { get; }` [#](#property-inspect)

[OfficeProtectionCapability.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L99)

Inspection coverage.

`public OfficeProtectionCoverageState Open { get; }` [#](#property-open)

[OfficeProtectionCapability.cs:101](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L101)

Decryption, deobfuscation, or protected-open coverage.

`public OfficeProtectionCoverageState Create { get; }` [#](#property-create)

[OfficeProtectionCapability.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L103)

Protection or signature creation coverage.

`public OfficeProtectionCoverageState Validate { get; }` [#](#property-validate)

[OfficeProtectionCapability.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L105)

Cryptographic validation coverage.

`public OfficeProtectionCoverageState Mutate { get; }` [#](#property-mutate)

[OfficeProtectionCapability.cs:107](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L107)

Safe mutation or round-trip coverage.

`public OfficeProtectionCoverageState Remove { get; }` [#](#property-remove)

[OfficeProtectionCapability.cs:109](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L109)

Explicit protection-removal coverage.

`public string Api { get; }` [#](#property-api)

[OfficeProtectionCapability.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L111)

Primary public API entry point.

`public string Limitation { get; }` [#](#property-limitation)

[OfficeProtectionCapability.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L113)

Important boundary or limitation.

`public IReadOnlyList<OfficeProtectionUnsupportedOperation> UnsupportedOperations { get; }` [#](#property-unsupportedoperations)

[OfficeProtectionCapability.cs:119](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/OfficeProtectionCapability.cs#L119)

Roadmap or intentional-boundary classifications supplied for unsupported operations. Catalog schema version 2 and later require exactly one classification for every operation whose coverage is [OfficeProtectionCoverageState.NotSupported](/api/core/officeimo-security-officeprotectioncoveragestate/).

<!-- PowerForge markdown artifact sha256:33BFCF3B494B8719F671970B19A537A5637FCA8E4088EF08191E3CA888DBCA28 -->
