VerificationResult

data class VerificationResult(val valid: Boolean, val errors: List<String> = emptyList(), val warnings: List<String> = emptyList(), val verifiedAt: Instant = Clock.System.now(), val verificationMethod: String? = null, val integrityVerified: Boolean = false)

Verification result.

Constructors

Link copied to clipboard
constructor(valid: Boolean, errors: List<String> = emptyList(), warnings: List<String> = emptyList(), verifiedAt: Instant = Clock.System.now(), verificationMethod: String? = null, integrityVerified: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

true only when a digest was supplied and the document's canonical digest was compared against it and matched. false when no digest was supplied (nothing to compare against; a warning says so) or the comparison could not be made.

Link copied to clipboard

no check that was performed failed. This is not a statement that the document's integrity was established: see integrityVerified.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard