View definition

(*Config).SetSessionTicketKeys

Defined in github.com/golang/go/src/crypto/tls/common.go

Description

SetSessionTicketKeys updates the session ticket keys for a server. The first key will be used when creating new tickets, while all keys can be used for decrypting tickets. It is safe to call this function while the server is running in order to rotate the session ticket keys. The function will panic if keys is empty.