Package org.bouncycastle.tls
Interface TlsHandshakeHash
- All Superinterfaces:
TlsHash
Base interface for an object that can calculate a handshake hash.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyBufferTo
(OutputStream output) void
byte[]
getFinalHash
(int cryptoHashAlgorithm) void
void
void
void
trackHashAlgorithm
(int cryptoHashAlgorithm) Methods inherited from interface org.bouncycastle.tls.crypto.TlsHash
calculateHash, cloneHash, reset, update
-
Method Details
-
copyBufferTo
- Throws:
IOException
-
forceBuffering
void forceBuffering() -
notifyPRFDetermined
void notifyPRFDetermined() -
trackHashAlgorithm
void trackHashAlgorithm(int cryptoHashAlgorithm) -
sealHashAlgorithms
void sealHashAlgorithms() -
stopTracking
void stopTracking() -
forkPRFHash
TlsHash forkPRFHash() -
getFinalHash
byte[] getFinalHash(int cryptoHashAlgorithm)
-