IntegrityTag.matches

Verify if the data passed in parameter matches this IntegrityTag

struct IntegrityTag
const @safe pure
bool
matches
(
in ubyte[] data
)

Parameters

data ubyte[]

The content of the archive to check for a match

Return Value

Type: bool

Whether the hash of data (using this.algorithm) matches the value that is base64 encoded.

Meta