public class DataGroup extends Object
Such data groups represent a set of one or more data objects (e.g. electronic documents) for which an Evidence Record should be generated.
Constructor and Description |
---|
DataGroup(byte[] dataObject) |
DataGroup(List<byte[]> dataObjects) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getHash(DigestCalculator digestCalculator)
Generates a hash for the whole DataGroup.
|
TreeSet<byte[]> |
getHashes(DigestCalculator digestCalculator)
Generates hashes for all the data objects included in the data group.
|
public DataGroup(List<byte[]> dataObjects)
public DataGroup(byte[] dataObject)
public TreeSet<byte[]> getHashes(DigestCalculator digestCalculator)
digestCalculator
- the DigestCalculator
to use for computing the hashespublic byte[] getHash(DigestCalculator digestCalculator)
digestCalculator
- the DigestCalculator
to use for computing the hashCopyright © 2020 BouncyCastle.org. All rights reserved.