Class OdfSigningOptions
Controls digital signature and XAdES behavior for ODF package signing and validation. 控制 ODF 封裝簽署與驗證時的數位簽章與 XAdES 行為。
public class OdfSigningOptions
- Inheritance
-
OdfSigningOptions
- Inherited Members
Constructors
OdfSigningOptions()
public OdfSigningOptions()
Properties
AllowUntrustedRoot
Gets or sets a value indicating whether untrusted root certificates are accepted during validation. 取得或設定驗證期間是否接受不受信任的根憑證。
public bool AllowUntrustedRoot { get; set; }
Property Value
AllowUntrustedTimestamp
Gets or sets a value indicating whether untrusted timestamp certificates are accepted. 取得或設定是否接受不受信任的時間戳記憑證。
public bool AllowUntrustedTimestamp { get; set; }
Property Value
CheckRevocation
Gets or sets a value indicating whether certificate revocation is checked. 取得或設定是否檢查憑證撤銷狀態。
public bool CheckRevocation { get; set; }
Property Value
ExtraCertificates
Gets additional certificates used when building signing or validation chains. 取得建立簽署或驗證憑證鏈時使用的額外憑證。
public X509Certificate2Collection ExtraCertificates { get; }
Property Value
HttpClient
Gets or sets the HTTP client used to fetch CRLs and contact timestamp authorities. 取得或設定用於擷取 CRL 與查詢時間戳記授權機構的 HTTP client。
public HttpClient? HttpClient { get; set; }
Property Value
Level
Gets or sets the XAdES level mapped to SignatureLevel. 取得或設定對應至 SignatureLevel 的 XAdES 層級。
public XadesLevel Level { get; set; }
Property Value
SignatureLevel
Gets or sets the ODF signature level to create or validate. 取得或設定要建立或驗證的 ODF 簽章層級。
public OdfSignatureLevel SignatureLevel { get; set; }
Property Value
TsaUrl
Gets or sets the RFC 3161 timestamp authority URL. 取得或設定 RFC 3161 時間戳記授權機構 URL。
public string? TsaUrl { get; set; }