Table of Contents

Class BundleChecksumValidationException

Namespace
OpaDotNet.Wasm.Validation
Assembly
OpaDotNet.Wasm.dll

The exception that is thrown if hash of file in the bundle mismatches hash in the signature.

[ExcludeFromCodeCoverage]
public class BundleChecksumValidationException : BundleSignatureValidationException, ISerializable
Inheritance
BundleChecksumValidationException
Implements
Inherited Members

Constructors

BundleChecksumValidationException(string, string?, string?, string)

The exception that is thrown if hash of file in the bundle mismatches hash in the signature.

public BundleChecksumValidationException(string fileName, string? alg, string? expected, string actual)

Parameters

fileName string

Name of the file with mismatched hash.

alg string

Hashing algorithm.

expected string

Expected hash.

actual string

Actual hash.

Properties

Actual

Actual hash.

public string Actual { get; }

Property Value

string

Alg

Hashing algorithm.

public string? Alg { get; }

Property Value

string

Expected

Expected hash.

public string? Expected { get; }

Property Value

string

FileName

Name of the file with mismatched hash.

public string FileName { get; }

Property Value

string