Table of Contents

Interface IIntegrityProvider

Namespace
AngleSharp.Io
Assembly
AngleSharp.dll

Defines the methods to perform an integrity check.

public interface IIntegrityProvider
Extension Methods

Methods

IsSatisfied(byte[], string)

Checks if the given content satisfies the provided integrity attribute.

bool IsSatisfied(byte[] content, string integrity)

Parameters

content byte[]

The content to hash.

integrity string

The value of the integrity attribute.

Returns

bool

True if integrity is preserved, otherwise false.