OfficeXmlPackageSignatureOptions
OfficeIMO.Security
Bounded creation and validation policy for ODF/EPUB XML signatures.
Inheritance
- object
- OfficeXmlPackageSignatureOptions
Constructors
public OfficeXmlPackageSignatureOptions() #Inherited Methods
Properties
public long MaxPackageBytes { get; set; } #Maximum package bytes. Defaults to 512 MiB.
public int MaxEntries { get; set; } #Maximum ZIP entries. Defaults to 10,000.
public long MaxEntryBytes { get; set; } #Maximum bytes read from one entry. Defaults to 256 MiB.
public long MaxTotalDigestBytes { get; set; } #Maximum aggregate bytes hashed. Defaults to 512 MiB.
public long MaxSignatureBytes { get; set; } #Maximum signature carrier bytes. Defaults to 16 MiB.
public int MaxSignatures { get; set; } #Maximum signature count. Defaults to 32.
public int MaxCertificates { get; set; } #Maximum embedded certificates per signature. Defaults to 64.
public long MaxCertificateBytes { get; set; } #Maximum decoded bytes per embedded certificate. Defaults to 4 MiB.
public long MaxTotalCertificateBytes { get; set; } #Maximum aggregate decoded certificate bytes per signature. Defaults to 64 MiB.
public CertificateValidationOptions CertificateValidation { get; } #Signer certificate trust and revocation policy.
public bool ValidateCertificateTrust { get; set; } #Whether signer trust must be validated. Defaults to true.
public IReadOnlyCollection<X509Certificate2>? AdditionalCertificates { get; set; } #Additional certificates embedded after the signer certificate.