MCPcopy
hub / github.com/XTLS/REALITY / ClientApplicationTrafficSecret

Method ClientApplicationTrafficSecret

tls13/tls13.go:132–134  ·  view source on GitHub ↗

ClientApplicationTrafficSecret derives the client_application_traffic_secret_0 from the master secret and the transcript up to the server Finished.

(transcript hash.Hash)

Source from the content-addressed store, hash-verified

130// ClientApplicationTrafficSecret derives the client_application_traffic_secret_0
131// from the master secret and the transcript up to the server Finished.
132func (s *MasterSecret) ClientApplicationTrafficSecret(transcript hash.Hash) []byte {
133 return deriveSecret(s.hash, s.secret, clientApplicationTrafficLabel, transcript)
134}
135
136// ServerApplicationTrafficSecret derives the server_application_traffic_secret_0
137// from the master secret and the transcript up to the server Finished.

Callers 2

readServerFinishedMethod · 0.80
sendServerFinishedMethod · 0.80

Calls 1

deriveSecretFunction · 0.85

Tested by

no test coverage detected