Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

XmlDigitalSignatureCreationRequest

Namespace OfficeIMO.Security
Assembly OfficeIMO.Core
Modifiers sealed

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

Inheritance

  • Object
  • XmlDigitalSignatureCreationRequest

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

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 System.Byte[] requiredposition: 0
signingCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 requiredposition: 1
signatureId System.String requiredposition: 2
objectId System.String requiredposition: 3
objectReferenceType System.String requiredposition: 4
canonicalizationMethod System.String requiredposition: 5
signatureMethod System.String requiredposition: 6
digestMethod System.String requiredposition: 7

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 Int64 MaxObjectBytes { get; set; } #

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

public Int64 MaxOutputBytes { get; set; } #

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