Lines Matching defs:Config

289 type Config struct {  struct
294 Rand io.Reader
298 Time func() time.Time
303 Certificates []Certificate
311 NameToCertificate map[string]*Certificate
316 RootCAs *x509.CertPool
319 NextProtos []string
324 ServerName string
328 ClientAuth ClientAuthType
333 ClientCAs *x509.CertPool
337 ClientCertificateTypes []byte
345 InsecureSkipVerify bool
349 CipherSuites []uint16
355 PreferServerCipherSuites bool
359 SessionTicketsDisabled bool
369 SessionTicketKey [32]byte
373 ClientSessionCache ClientSessionCache
377 ServerSessionCache ServerSessionCache
381 MinVersion uint16
386 MaxVersion uint16
391 CurvePreferences []CurveID
397 DefaultCurves []CurveID
401 ChannelID *ecdsa.PrivateKey
406 RequestChannelID bool
410 PreSharedKey []byte
414 PreSharedKeyIdentity string
421 MaxEarlyDataSize uint32
425 SRTPProtectionProfiles []uint16
429 SignSignatureAlgorithms []signatureAlgorithm
433 VerifySignatureAlgorithms []signatureAlgorithm
437 Bugs ProtocolBugs
439 serverInitOnce sync.Once // guards calling (*Config).serverInit
1330 func (c *Config) serverInit() {
1347 func (c *Config) rand() io.Reader {
1355 func (c *Config) time() time.Time {
1363 func (c *Config) cipherSuites() []uint16 {
1371 func (c *Config) minVersion(isDTLS bool) uint16 {
1389 func (c *Config) maxVersion(isDTLS bool) uint16 {
1409 func (c *Config) curvePreferences() []CurveID {
1416 func (c *Config) defaultCurves() map[CurveID]bool {
1430 func (c *Config) isSupportedVersion(vers uint16, isDTLS bool) bool {
1437 func (c *Config) getCertificateForName(name string) *Certificate {
1467 func (c *Config) signSignatureAlgorithms() []signatureAlgorithm {
1474 func (c *Config) verifySignatureAlgorithms() []signatureAlgorithm {
1484 func (c *Config) BuildNameToCertificate() {