Documentation
¶
Index ¶
Constants ¶
View Source
const CookieStorageSize = 256
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieState ¶
type CookieState struct {
// contains filtered or unexported fields
}
func (*CookieState) AppendCookie ¶
func (*CookieState) IsCookieValid ¶
func (*CookieState) SetRand ¶
func (c *CookieState) SetRand(rnd dtlsrand.Rand)
type Params ¶
type Params struct {
// those values are signed, so server can trust them after validation
TranscriptHash ciphersuite.Hash
TimestampUnixNano int64
CipherSuite ciphersuite.ID // we must remember to generate exactly same HRR for transcript
Age time.Duration // set during validation
}
Click to show internal directories.
Click to hide internal directories.