Sleuth Kit Java Bindings (JNI)  4.12.1
Java bindings for using The Sleuth Kit
HashEntry.java
Go to the documentation of this file.
1 /*
2  * Sleuth Kit Data Model
3  *
4  * Copyright 2014 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.datamodel;
20 
25 public class HashEntry {
26 
27  private String fileName;
28  private String md5Hash;
29  private String sha1Hash;
30  private String sha256Hash;
31  private String comment;
32 
33  public HashEntry(String fileName, String md5Hash, String sha1Hash, String sha256Hash, String comment) {
34  this.fileName = fileName;
35  this.md5Hash = md5Hash;
36  this.sha1Hash = sha1Hash;
37  this.sha256Hash = sha256Hash;
38  this.comment = comment;
39  }
40 
41  public String getFileName() {
42  return fileName;
43  }
44 
45  public String getMd5Hash() {
46  return md5Hash;
47  }
48 
49  public String getSha1Hash() {
50  return sha1Hash;
51  }
52 
53  public String getSha256Hash() {
54  return sha256Hash;
55  }
56 
57  public String getComment() {
58  return comment;
59  }
60 }
String getFileName()
Definition: HashEntry.java:41
String getSha256Hash()
Definition: HashEntry.java:53
HashEntry(String fileName, String md5Hash, String sha1Hash, String sha256Hash, String comment)
Definition: HashEntry.java:33
String getSha1Hash()
Definition: HashEntry.java:49
Definition: HashEntry.java:25
String getMd5Hash()
Definition: HashEntry.java:45
String getComment()
Definition: HashEntry.java:57

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.