Class CombinedHash
java.lang.Object
org.bouncycastle.tls.CombinedHash
- All Implemented Interfaces:
TlsHash
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
context
-
crypto
-
md5
-
sha1
-
-
Constructor Details
-
CombinedHash
-
CombinedHash
-
-
Method Details
-
update
public void update(byte[] input, int inOff, int len) Description copied from interface:TlsHashUpdate the hash with the passed in input. -
calculateHash
public byte[] calculateHash()Description copied from interface:TlsHashReturn calculated hash for any input passed in.- Specified by:
calculateHashin interfaceTlsHash- Returns:
- the hash value.
-
cloneHash
-
reset
-