Modifier and Type | Field and Description |
---|---|
protected TlsContext |
context |
protected TlsCrypto |
crypto |
protected TlsHash |
md5 |
protected TlsHash |
sha1 |
Constructor and Description |
---|
CombinedHash(CombinedHash t) |
CombinedHash(TlsCrypto crypto) |
Modifier and Type | Method and Description |
---|---|
byte[] |
calculateHash()
Return calculated hash for any input passed in.
|
TlsHash |
cloneHash()
Return a clone of this hash object representing its current state.
|
void |
reset()
Reset the hash underlying this service.
|
void |
update(byte[] input,
int inOff,
int len)
Update the hash with the passed in input.
|
protected TlsContext context
protected TlsCrypto crypto
protected TlsHash md5
protected TlsHash sha1
public CombinedHash(TlsCrypto crypto)
public CombinedHash(CombinedHash t)
public void update(byte[] input, int inOff, int len)
TlsHash
public byte[] calculateHash()
TlsHash
calculateHash
in interface TlsHash
public TlsHash cloneHash()
TlsHash