Class OdfSingleSignatureValidationResult
Provides the OdfSingleSignatureValidationResult API. 表示單一數位簽章的詳細驗證結果。
public sealed class OdfSingleSignatureValidationResult
- Inheritance
-
OdfSingleSignatureValidationResult
- Inherited Members
Constructors
OdfSingleSignatureValidationResult()
public OdfSingleSignatureValidationResult()
Properties
Certificate
Gets the Certificate value. 取得簽署憑證。
public X509Certificate2? Certificate { get; }
Property Value
CheckedReferences
Gets the CheckedReferences value. 取得此簽章所驗證的 ODF 封裝參考專案清單。
public List<string> CheckedReferences { get; }
Property Value
ErrorCode
Gets the ErrorCode value. 取得驗證失敗時的診斷錯誤碼。
public string? ErrorCode { get; }
Property Value
ErrorMessage
Gets the ErrorMessage value. 取得驗證過程中遇到的任何錯誤或警告訊息。
public string? ErrorMessage { get; }
Property Value
IsCertificateValid
Gets a value indicating the IsCertificateValid state. 取得簽署憑證是否有效(例如未過期且已生效)。
public bool IsCertificateValid { get; }
Property Value
IsChainValid
Gets a value indicating the IsChainValid state. 取得憑證鏈是否有效。
public bool IsChainValid { get; }
Property Value
IsRevocationValid
Gets a value indicating the IsRevocationValid state. 取得撤銷檢查( CRL/OCSP )是否成功且憑證未被撤銷。
public bool IsRevocationValid { get; }
Property Value
IsSignatureValid
Gets a value indicating the IsSignatureValid state. 取得 XML 密碼學簽章是否有效。
public bool IsSignatureValid { get; }
Property Value
IsTimestampValid
Gets a value indicating the IsTimestampValid state. 取得 XAdES-T 時間戳記(若存在)在密碼學上是否有效。
public bool IsTimestampValid { get; }
Property Value
SignatureId
Gets the SignatureId value. 取得簽章識別碼(若可用)。
public string? SignatureId { get; }
Property Value
ValidationSteps
Gets the ValidationSteps value. 取得已執行驗證步驟的追蹤記錄。
public List<string> ValidationSteps { get; }
Property Value
Warnings
Gets the Warnings value. 取得驗證過程中遇到的警告清單。
public List<string> Warnings { get; }