- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Dickert (0.2 sec)
-
src/crypto/tls/common.go
ClientSessionCache ClientSessionCache // UnwrapSession is called on the server to turn a ticket/identity // previously produced by [WrapSession] into a usable session. // // UnwrapSession will usually either decrypt a session state in the ticket // (for example with [Config.EncryptTicket]), or use the ticket as a handle // to recover a previously stored state. It must use [ParseSessionState] to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
} return k } testResumeState("Handshake", false) ticket := getTicket() testResumeState("Resume", true) if bytes.Equal(ticket, getTicket()) { t.Fatal("ticket didn't change after resumption") } // An old session ticket is replaced with a ticket encrypted with a fresh key. ticket = getTicket() serverConfig.Time = func() time.Time { return time.Now().Add(24*time.Hour + time.Minute) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* @throws IllegalStateException if a ticker was already set */ @CanIgnoreReturnValue public CacheBuilder<K, V> ticker(Ticker ticker) { checkState(this.ticker == null); this.ticker = checkNotNull(ticker); return this; } Ticker getTicker(boolean recordsTime) { if (ticker != null) { return ticker; } return recordsTime ? Ticker.systemTicker() : NULL_TICKER; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 51.3K bytes - Viewed (0) -
src/crypto/tls/handshake_messages.go
return false } } return readUint16LengthPrefixed(&s, &m.signature) && s.Empty() } type newSessionTicketMsg struct { ticket []byte } func (m *newSessionTicketMsg) marshal() ([]byte, error) { // See RFC 5077, Section 3.3. ticketLen := len(m.ticket) length := 2 + 4 + ticketLen x := make([]byte, 4+length) x[0] = typeNewSessionTicket x[1] = uint8(length >> 16)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
continue // these are unexported fields that are handled separately default: t.Errorf("all fields must be accounted for, but saw unknown field %q", fn) } } // Set the unexported fields related to session ticket keys, which are copied with Clone(). c1.autoSessionTicketKeys = []ticketKey{c1.ticketKeyFromBytes(c1.SessionTicketKey)} c1.sessionTicketKeys = []ticketKey{c1.ticketKeyFromBytes(c1.SessionTicketKey)} c2 := c1.Clone()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
src/crypto/tls/conn.go
// resumptionSecret is the resumption_master_secret for handling // or sending NewSessionTicket messages. resumptionSecret []byte echAccepted bool // ticketKeys is the set of active session ticket keys for this // connection. The first one is used to encrypt new tickets and // all are tried to decrypt tickets. ticketKeys []ticketKey // clientFinishedIsFirst is true if the client sent the first Finished
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0)