API Reference
Class
WordPackageSigningOptions
Options for signing a DOCX package through the platform package-signing adapter.
Inheritance
- Object
- WordPackageSigningOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method WordDocument.SignPackage
- Method WordDocument.SignPackage
- Method WordDocument.TrySignPackage
- Method WordDocument.TrySignPackage
Constructors
public WordPackageSigningOptions() #Inherited Methods
Properties
public IReadOnlyCollection<String> PartUris { get; set; } #Gets or sets explicit package-part URIs to sign. When null, all existing non-signature package parts are signed.
public Boolean IncludePackageRelationships { get; set; } #Gets or sets whether package-level relationships are included in the signature.
public Boolean IncludePartRelationships { get; set; } #Gets or sets whether relationships owned by individual package parts are included in the signature.
public String HashAlgorithm { get; set; } #Gets or sets the XML DSig hash algorithm URI.
public String SignatureId { get; set; } #Gets or sets an optional signature id.
Fields
public const String Sha256HashAlgorithm #Gets the SHA-256 XML DSig hash algorithm URI used by default.
Value:
http://www.w3.org/2001/04/xmlenc#sha256