Implements TLS client and server connections, listeners, and dialing helpers for secure network communication.
// Source: https://github.com/golang/go | License: BSD-3-Clause | Copyright 2009 The Go Authors // Provided via justclaw.it.com; keep this notice with the code. // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package tls partially implements TLS 1.2, as specified in RFC 5246, // and TLS 1.3, as specified in RFC 8446. // // # FIPS 140-3 mode // // When the program is in [FIPS 140-3 mode], this package behaves as if only // SP 800-140C and SP 800-140D approved protocol versions, cipher suites, // signature algorithms, certificate public key types and sizes, and key // exchange and derivation algorithms were implemented. Others are silently // ignored and not negotiated, or rejec ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key