This class computes the tree hash that is set on the CheckSum property on UploadArchiveRequest, UploadMultipartPartRequest and CompleteMultipartUploadRequest.
| C# |
public class TreeHashGenerator
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| TreeHashGenerator()()()() | Initializes a new instance of the TreeHashGenerator class | |
| CalculateTreeHash(Stream) |
This method computes the tree hash used by glacier. It reads the whole stream and then resets the
position of the stream back to the beginning.
| |
| CalculateTreeHash(IEnumerable<(Of <<'(String>)>>)) |
This method computes the final tree hash used on the CompleteMultipartUploadRequest from the tree hashes of
the individual part uploaded.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | |
| TreeHashGenerator | |