# EntityMaskOptions

Settings for a single masking operation.

Class 

`OfficeIMO.Entities`

**Namespace**

`OfficeIMO.Entities`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[EntityMaskOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMaskOptions.cs#L10)

**Modifiers**

sealed

Settings for a single masking operation.

## Inheritance

- object
- EntityMaskOptions

## Usage

Explore 2 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.

### Accepted by parameters 2

- Method [EntityMasker.Mask](/api/core/officeimo-entities-entitymasker/#method-mask-string-collections-generic-ienumerable-officeimo-entities-entitymatch-officeimo-entities-entitymaskoptions) parameter `options`
- Method [EntityMasker.Pseudonymize](/api/core/officeimo-entities-entitymasker/#method-pseudonymize-string-collections-generic-ienumerable-officeimo-entities-entitymatch-officeimo-entities-entitymaskoptions) parameter `options`

Filter members 

Show inherited

## Constructors

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

[EntityMaskOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMaskOptions.cs#L10)

## 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 EntityMaskStyle Style { get; set; }` [#](#property-style)

[EntityMaskOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMaskOptions.cs#L8)

Replacement style.

`public char FixedCharacter { get; set; }` [#](#property-fixedcharacter)

[EntityMaskOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMaskOptions.cs#L10)

Character repeated for fixed masking.

`public int? FixedLength { get; set; }` [#](#property-fixedlength)

[EntityMaskOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMaskOptions.cs#L12)

Fixed replacement length for string input, or null to preserve the written length.

`public byte[]? PseudonymKey { get; set; }` [#](#property-pseudonymkey)

[EntityMaskOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMaskOptions.cs#L14)

Secret HMAC key required for keyed pseudonyms.

`public ISet<EntitySensitivity> Sensitivities { get; }` [#](#property-sensitivities)

[EntityMaskOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMaskOptions.cs#L16)

Sensitivities selected for masking.

<!-- PowerForge markdown artifact sha256:E3087D16FC32D434C0C0017EA03234A669765AA8E3E09810790CF16708611FB6 -->
