# WordPackageCertificateStoreOptions

Options for resolving a signing certificate from the local certificate store.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`e96266e685be` with working tree changes

**Source**

[WordPackageSigning.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordPackageSigning.cs#L52)

**Modifiers**

sealed

Options for resolving a signing certificate from the local certificate store.

## Inheritance

- object
- WordPackageCertificateStoreOptions

## 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 [WordDocument.SignPackage](/api/word/officeimo-word-worddocument/#method-signpackage-string-officeimo-security-iofficesecurityprovider-string-officeimo-word-wordpackagecertificatestoreoptions-officeimo-word-wordpackagesigningoptions) parameter `certificateOptions`
- Method [WordDocument.TrySignPackage](/api/word/officeimo-word-worddocument/#method-trysignpackage-string-officeimo-security-iofficesecurityprovider-string-officeimo-word-wordpackagecertificatestoreoptions-officeimo-word-wordpackagesigningoptions) parameter `certificateOptions`

Filter members 

Show inherited

## Constructors

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

[WordPackageSigning.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordPackageSigning.cs#L52)

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

[WordPackageSigning.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordPackageSigning.cs#L52)

Gets or sets the certificate store name to inspect.

`public StoreLocation StoreLocation { get; set; }` [#](#property-storelocation)

[WordPackageSigning.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordPackageSigning.cs#L57)

Gets or sets the certificate store location to inspect.

`public bool RequirePrivateKey { get; set; }` [#](#property-requireprivatekey)

[WordPackageSigning.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordPackageSigning.cs#L62)

Gets or sets whether the resolved certificate must include a private key.

`public bool IncludeInvalidCertificates { get; set; }` [#](#property-includeinvalidcertificates)

[WordPackageSigning.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordPackageSigning.cs#L67)

Gets or sets whether invalid or untrusted certificates are included during thumbprint lookup.

<!-- PowerForge markdown artifact sha256:67E9E46E84076C9072C91D523A2E14513D0FCC087B280CA8A419DA3A2A68D8F5 -->
