Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

XmlDigitalSignatureCreationRequest

OfficeIMO.Security

Namespace
OfficeIMO.Security
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Request for creating one bounded enveloping XML signature over a caller-supplied object.

Inheritance

  • object
  • XmlDigitalSignatureCreationRequest

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

Constructors

public XmlDigitalSignatureCreationRequest(byte[] objectXml, X509Certificate2 signingCertificate, string signatureId, string objectId, string objectReferenceType, string canonicalizationMethod, string signatureMethod, string digestMethod) #

Creates a request over the children of the supplied wrapper XML document.

Parameters

objectXml byte[] required
signingCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 required
signatureId string required
objectId string required
objectReferenceType string required
canonicalizationMethod string required
signatureMethod string required
digestMethod string required

Properties

public byte[] ObjectXml { get; } #

Gets the bounded XML wrapper whose child nodes become the signed DataObject content.

public X509Certificate2 SigningCertificate { get; } #

Gets the certificate whose private key creates the signature.

public string SignatureId { get; } #

Gets the XML Signature Id.

public string ObjectId { get; } #

Gets the signed DataObject Id.

public string ObjectReferenceType { get; } #

Gets the SignedInfo Reference Type for the DataObject.

public string CanonicalizationMethod { get; } #

Gets the SignedInfo canonicalization algorithm.

public string SignatureMethod { get; } #

Gets the signature algorithm.

public string DigestMethod { get; } #

Gets the DataObject digest algorithm.

public IReadOnlyCollection<X509Certificate2>? AdditionalCertificates { get; set; } #

Gets additional certificates embedded after the signer certificate.

public long MaxObjectBytes { get; set; } #

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

public long MaxOutputBytes { get; set; } #

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