Class AuditIntegrityVerificationResult
Represents the outcome of provider-neutral audit integrity verification.
public sealed class AuditIntegrityVerificationResult
- Inheritance
-
AuditIntegrityVerificationResult
- Inherited Members
Properties
Category
Gets the provider-neutral verification category.
public AuditIntegrityVerificationCategory Category { get; }
Property Value
ChainId
Gets the chain identifier associated with the result, when known.
public string? ChainId { get; }
Property Value
FailureCode
Gets the failure code when verification did not succeed.
public string? FailureCode { get; }
Property Value
FailureMessage
Gets the failure message when verification did not succeed.
public string? FailureMessage { get; }
Property Value
IsValid
Gets a value indicating whether the integrity chain verified successfully.
public bool IsValid { get; }
Property Value
RecordId
Gets the record identifier associated with the result, when known.
public string? RecordId { get; }
Property Value
SafeMetadata
Gets safe-to-log verification metadata.
public IReadOnlyDictionary<string, string> SafeMetadata { get; }
Property Value
Sequence
Gets the sequence associated with the result, when known.
public long? Sequence { get; }
Property Value
- long?
Status
Gets a provider-neutral status string.
public string Status { get; }
Property Value
Methods
Failed(AuditIntegrityVerificationCategory, string, string?, AuditIntegrityLink?, IReadOnlyDictionary<string, string>?)
Creates a failed verification result.
public static AuditIntegrityVerificationResult Failed(AuditIntegrityVerificationCategory category, string failureCode, string? failureMessage = null, AuditIntegrityLink? link = null, IReadOnlyDictionary<string, string>? metadata = null)
Parameters
categoryAuditIntegrityVerificationCategoryfailureCodestringfailureMessagestringlinkAuditIntegrityLinkmetadataIReadOnlyDictionary<string, string>
Returns
Valid(string, long, string)
Creates a valid verification result.
public static AuditIntegrityVerificationResult Valid(string chainId, long linkCount, string tipHash)