Package org.netxms.client
Class AgentFileFingerprint
java.lang.Object
org.netxms.client.AgentFileFingerprint
File fingerprint received from agent
-
Constructor Summary
ConstructorDescriptionCreate new agent file fingerprint object from NXCP message. -
Method Summary
-
Constructor Details
-
AgentFileFingerprint
Create new agent file fingerprint object from NXCP message.- Parameters:
msg
- NXCP message
-
-
Method Details
-
getSize
public long getSize()- Returns:
- file size
-
getCRC32
public long getCRC32()Get CRC32 checksum of the file.- Returns:
- file CRC32 checksum
-
getMD5
public byte[] getMD5()Get MD5 hash of the file.- Returns:
- file MD5 hash
-
getSHA256
public byte[] getSHA256()Get SHA256 hash of the file.- Returns:
- file SHA256 hash
-
getFileData
public byte[] getFileData()Get first 64 bytes of the file.- Returns:
- first 64 bytes of the file
-