ResumptionMasterSecret derives the resumption_master_secret from the master secret and the transcript up to the client Finished.
(transcript hash.Hash)
| 142 | // ResumptionMasterSecret derives the resumption_master_secret from the master secret |
| 143 | // and the transcript up to the client Finished. |
| 144 | func (s *MasterSecret) ResumptionMasterSecret(transcript hash.Hash) []byte { |
| 145 | return deriveSecret(s.hash, s.secret, resumptionLabel, transcript) |
| 146 | } |
| 147 | |
| 148 | type ExporterMasterSecret struct { |
| 149 | secret []byte |
no test coverage detected