ExporterMasterSecret derives the exporter_master_secret from the master secret and the transcript up to the server Finished.
(transcript hash.Hash)
| 153 | // ExporterMasterSecret derives the exporter_master_secret from the master secret |
| 154 | // and the transcript up to the server Finished. |
| 155 | func (s *MasterSecret) ExporterMasterSecret(transcript hash.Hash) *ExporterMasterSecret { |
| 156 | return &ExporterMasterSecret{ |
| 157 | secret: deriveSecret(s.hash, s.secret, exporterLabel, transcript), |
| 158 | hash: s.hash, |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | // EarlyExporterMasterSecret derives the exporter_master_secret from the early secret |
| 163 | // and the transcript up to the ClientHello. |
no test coverage detected