crypto/tls.Config.time (method)
18 uses
crypto/tls (current package)
common.go#L737: key.created = c.time()
common.go#L855: if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation {
common.go#L865: if len(c.autoSessionTicketKeys) == 0 || c.time().Sub(c.autoSessionTicketKeys[0].created) >= ticketKeyRotation {
common.go#L874: if c.time().Sub(k.created) < ticketKeyLifetime {
common.go#L919: func (c *Config) time() time.Time {
handshake_client.go#L282: if c.config.time().After(serverCert.NotAfter) {
handshake_client.go#L304: if c.config.time().After(session.useBy) {
handshake_client.go#L328: ticketAge := uint32(c.config.time().Sub(session.receivedAt) / time.Millisecond)
handshake_client.go#L798: receivedAt: c.config.time(),
handshake_client.go#L839: CurrentTime: c.config.time(),
handshake_client_tls13.go#L244: ticketAge := uint32(c.config.time().Sub(hs.session.receivedAt) / time.Millisecond)
handshake_client_tls13.go#L673: receivedAt: c.config.time(),
handshake_client_tls13.go#L675: useBy: c.config.time().Add(lifetime),
handshake_server.go#L382: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server.go#L717: createdAt := uint64(c.config.time().Unix())
handshake_server.go#L790: CurrentTime: c.config.time(),
handshake_server_tls13.go#L280: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server_tls13.go#L743: createdAt: uint64(c.config.time().Unix()),
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |