Documentation ¶
Index ¶
Constants ¶
View Source
const (
RawSessionTicketKeySize = 48 // bytes
)
Variables ¶
This section is empty.
Functions ¶
func SessionTicketKeyConfCheck ¶
func SessionTicketKeyConfCheck(conf SessionTicketKeyConf) error
SessionTicketKeyConfCheck check integrity of config.
Types ¶
type SessionTicketKeyConf ¶
type SessionTicketKeyConf struct { Version string // version of config SessionTicketKey string // session ticket key (hex encode) }
SessionTicketKeyConf is session ticket key config.
func SessionTicketKeyConfLoad ¶
func SessionTicketKeyConfLoad(filename string) (SessionTicketKeyConf, error)
SessionTicketKeyConfLoad load session ticket key from file.
Click to show internal directories.
Click to hide internal directories.