KAV_HASH_TYPE

Identifies the type of hash sum.

Syntax

typedef enum

{

KAV_HASH_NONE = 0, // No hash obtained, 0 bytes is available in KAV_OBJECT_HASH::hashData

KAV_HASH_MD5 = 1 // 16 byte MD5 hash is available in KAV_OBJECT_HASH::hashData

} KAV_HASH_TYPE;

Constants

KAV_HASH_TYPE enumeration constants

Member name

Description

KAV_HASH_NONE

No hash sum computed for the file.

KAV_HASH_MD5

An MD5 hash sum is computed and can be obtained in from KAV_OBJECT_HASH::hashData.

For more information, see KAV_OBJECT_HASH.

Remarks

This enumeration is used within the KAV_OBJECT_HASH structure.

Each value of this enumeration specifies how many bytes are available in KAV_OBJECT_HASH::hashData. For example, KAV_HASH_NONE specifies that no hash sum data is returned for the scanned file, and KAV_OBJECT_HASH::hashData contains 0 bytes. If KAV SDK returned a hash sum, KAV_HASH_MD5 is used, and KAV_OBJECT_HASH::hashData contains the 16 bytes of hash value.

See also

Callback function return values

KAV_OBJECT_HASH

Page top