This interface is implemented by a global Checksum Support Object.
interface Checksum.IChecksumSupport {
// Methods
${isChecked}(algorithmId: string): boolean;
${checkAlgorithm}(algorithmId: string, checked?: boolean): void;
${checkAll}(checked: boolean): void;
${calculateAsync}(document: ${IDocument}, algorithms?: (string | ${Checksum.CustomCRC} | ${Checksum.CustomFNV})[], range?: ${ISelection}): Promise<${Checksum.Result}[]>;
${calculateAsync#calculateAsync1}(document: ${IDocument}, algorithm: string | ${Checksum.CustomCRC} | ${Checksum.CustomFNV}, range?: ${ISelection}): Promise<${Checksum.Result}[]>;
${getResult}(document: ${IDocument}, algorithmId: string): ${Checksum.Result};
}
// This interface is not available in managed environment
// This interface is not available in native environment
isChecked(algorithmId: string): boolean;
// This method is not available in managed environment
// This method is not available in native environment
algorithmIdCheck if a given algorithm is enabled.
checkAlgorithm(algorithmId: string, checked?: boolean): void;
// This method is not available in managed environment
// This method is not available in native environment
algorithmIdcheckedEnable, disable or toggle a given checksum algorithm.
checkAll(checked: boolean): void;
// This method is not available in managed environment
// This method is not available in native environment
checkedEnable or disable all checksum algorithms.
calculateAsync(document: ${IDocument}, algorithms?: (string | ${Checksum.CustomCRC} | ${Checksum.CustomFNV})[], range?: ${ISelection}): Promise<${Checksum.Result}[]>;
// This method is not available in managed environment
// This method is not available in native environment
documentalgorithmsrangeA promise that resolves to an array of Result objects, each for one of requested algorithms.
Calculate checksums/hashes asynchronously.
calculateAsync(document: ${IDocument}, algorithm: string | ${Checksum.CustomCRC} | ${Checksum.CustomFNV}, range?: ${ISelection}): Promise<${Checksum.Result}[]>;
// This method is not available in managed environment
// This method is not available in native environment
documentalgorithmrangeCalculate single checksum/hash asynchronously.
getResult(document: ${IDocument}, algorithmId: string): ${Checksum.Result};
// This method is not available in managed environment
// This method is not available in native environment
documentalgorithmIdGet previously calculated checksum/hash result.