Top Description Methods
org.bouncycastle.tls

public Interface TlsHandshakeHash

extends TlsHash
Known Direct Implementers
org.bouncycastle.tls.DeferredHash
Imports
java.io.IOException, .OutputStream, org.bouncycastle.tls.crypto.TlsHash

Base interface for an object that can calculate a handshake hash.

Method Summary

Modifier and TypeMethod and Description
public void
public void
public TlsHash
public byte[]
getFinalHash(int cryptoHashAlgorithm)

public void
public void
public void
public void
trackHashAlgorithm(int cryptoHashAlgorithm)

Inherited from org.bouncycastle.tls.crypto.TlsHash:
calculateHashcloneHashresetupdate

Method Detail

copyBufferToback to summary
public void copyBufferTo(OutputStream output) throws IOException
forceBufferingback to summary
public void forceBuffering()
forkPRFHashback to summary
public TlsHash forkPRFHash()
getFinalHashback to summary
public byte[] getFinalHash(int cryptoHashAlgorithm)
notifyPRFDeterminedback to summary
public void notifyPRFDetermined()
sealHashAlgorithmsback to summary
public void sealHashAlgorithms()
stopTrackingback to summary
public void stopTracking()
trackHashAlgorithmback to summary
public void trackHashAlgorithm(int cryptoHashAlgorithm)