OfficePackageSigningOptions
OfficeIMO.Security
Options for signing an Open Packaging Convention package.
Inheritance
- object
- OfficePackageSigningOptions
Constructors
public OfficePackageSigningOptions() #Inherited Methods
Properties
public IReadOnlyCollection<string>? PartUris { get; set; } #Package-part URIs to sign, or null to sign every eligible package part.
public bool IncludePackageRelationships { get; set; } #Whether to authenticate selected root-package relationships.
public bool IncludePartRelationships { get; set; } #Whether to authenticate relationships owned by signed parts.
public string HashAlgorithm { get; set; } #XML DSig digest algorithm URI. The implementation accepts its bounded supported set only.
public string? SignatureId { get; set; } #Optional XML signature identifier.
public DateTimeOffset? SigningTime { get; set; } #Optional signing time; UTC now is used when omitted.
public IReadOnlyCollection<X509Certificate2>? AdditionalCertificates { get; set; } #Additional certificates to embed after the signing certificate.
public int MaxPackageParts { get; set; } #Maximum number of package parts accepted for signing.
public long MaxPackageBytes { get; set; } #Maximum package size in bytes accepted for signing.
public long MaxPartBytes { get; set; } #Maximum uncompressed size in bytes of one signed part.
public long MaxTotalDigestBytes { get; set; } #Maximum aggregate bytes read while calculating package digests.
public int MaxSignedReferences { get; set; } #Maximum authenticated part references and relationship selectors.
public long MaxSignatureBytes { get; set; } #Maximum generated XML signature size in bytes.
public int MaxCertificates { get; set; } #Maximum number of certificates embedded in the signature.
public long MaxCertificateBytes { get; set; } #Maximum encoded size in bytes of one certificate.
public long MaxTotalCertificateBytes { get; set; } #Maximum aggregate encoded certificate bytes.