session_ticket_key_conf

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL