Close waits till the background refresh of CRLDirectory of FileWatcherCRLProvider is done and then stops it.
()
| 166 | // Close waits till the background refresh of CRLDirectory of |
| 167 | // FileWatcherCRLProvider is done and then stops it. |
| 168 | func (p *FileWatcherCRLProvider) Close() { |
| 169 | close(p.stop) |
| 170 | <-p.done |
| 171 | } |
| 172 | |
| 173 | // scanCRLDirectory starts the process of scanning |
| 174 | // FileWatcherOptions.CRLDirectory and updating in-memory storage of CRL |
no outgoing calls