# XmlDigitalSignatureVerificationRequest

Request for bounded verification of XML signature math and local signed-object references.

Class 

`OfficeIMO.Security`

**Namespace**

`OfficeIMO.Security`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[XmlDigitalSignatureContracts.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L98)

**Modifiers**

sealed

Request for bounded verification of XML signature math and local signed-object references.

## Inheritance

- object
- XmlDigitalSignatureVerificationRequest

## Usage

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

- Method [IOfficeSecurityProvider.VerifyXmlSignature](/api/core/officeimo-security-iofficesecurityprovider/#method-verifyxmlsignature-officeimo-security-xmldigitalsignatureverificationrequest) parameter `request`

Filter members 

Show inherited

## Constructors

`public XmlDigitalSignatureVerificationRequest(byte[] signatureXml, IReadOnlyCollection<X509Certificate2> certificateCandidates)` [#](#constructor-ctor-byte-collections-generic-ireadonlycollection-system-security-cryptography-x509certificates-x509certificate2)

[XmlDigitalSignatureContracts.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L98)

Creates a request for one encoded XML Signature document.

Parameters

**signatureXml byte[] required**

**certificateCandidates System.Collections.Generic.IReadOnlyCollection<System.Security.Cryptography.X509Certificates.X509Certificate2> required**

## 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 byte[] SignatureXml { get; }` [#](#property-signaturexml)

[XmlDigitalSignatureContracts.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L94)

Gets the encoded XML Signature document.

`public IReadOnlyCollection<X509Certificate2> CertificateCandidates { get; }` [#](#property-certificatecandidates)

[XmlDigitalSignatureContracts.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L96)

Gets bounded signer-certificate candidates.

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

[XmlDigitalSignatureContracts.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L98)

Gets or sets the maximum signature XML bytes accepted. Defaults to 16 MiB.

`public int MaxReferences { get; set; }` [#](#property-maxreferences)

[XmlDigitalSignatureContracts.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L100)

Gets or sets the maximum SignedInfo Reference count. Defaults to 4,096.

`public long MaxTotalDigestWorkBytes { get; set; }` [#](#property-maxtotaldigestworkbytes)

[XmlDigitalSignatureContracts.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L102)

Gets or sets the maximum aggregate local-reference work across candidates. Defaults to 512 MiB.

`public IReadOnlyCollection<string> AllowedCanonicalizationMethods { get; set; }` [#](#property-allowedcanonicalizationmethods)

[XmlDigitalSignatureContracts.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L104)

Gets or sets the accepted SignedInfo canonicalization algorithms.

`public IReadOnlyCollection<string> AllowedReferenceTransforms { get; set; }` [#](#property-allowedreferencetransforms)

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

Gets or sets the accepted transforms on local SignedInfo references.

`public IReadOnlyCollection<string> AllowedSignatureMethods { get; set; }` [#](#property-allowedsignaturemethods)

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

Gets or sets the accepted signature methods. Caller policy may narrow, but cannot expand, the provider's supported set.

`public IReadOnlyCollection<string> AllowedDigestMethods { get; set; }` [#](#property-alloweddigestmethods)

[XmlDigitalSignatureContracts.cs:126](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/XmlDigitalSignatureContracts.cs#L126)

Gets or sets the accepted digest methods. Caller policy may narrow, but cannot expand, the provider's supported set.

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