package
0.0.0-20240729100353-fdfad402566b
Repository: https://github.com/smallstep/zcrypto.git
Documentation: pkg.go.dev
# Functions
Client returns a new TLS client side connection using conn as the underlying transport.
Dial connects to the given network address using net.Dial and then initiates a TLS handshake, returning the resulting TLS connection.
DialWithDialer connects to the given network address using dialer.Dial and then initiates a TLS handshake, returning the resulting TLS connection.
Listen creates a TLS listener accepting connections on the given network address using net.Listen.
LoadX509KeyPair reads and parses a public/private key pair from a pair of files.
NewListener creates a Listener which accepts connections from an inner Listener and wraps each connection with Server.
NewLRUClientSessionCache returns a ClientSessionCache with the given capacity that uses an LRU strategy.
Server returns a new TLS server side connection using conn as the underlying transport.
X509KeyPair parses a public/private key pair from a pair of PEM encoded data.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Values have no meaning (were previously 'iota') Values added IOT allow dereference to name for JSON.
A list of the possible cipher suite ids.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
SSL_RSA_FIPS_WITH_DES_CBC_SHA = 0xFEFESSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA = 0xFEFFSSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA = 0xFFE0SSL_RSA_FIPS_WITH_DES_CBC_SHA = 0xFFE1.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
Old ids for Chacha20 ciphers.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error type raised by doFullHandshake() when the CertsOnly option is in use.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RSA Ciphers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
A Certificate is a chain of one or more certificates, leaf first.
Certificates represents a TLS certificates message in a format friendly to the golang JSON library.
No description provided by the author
No description provided by the author
ClientHelloInfo contains information from a ClientHello message in order to guide certificate selection in the GetCertificate callback.
ClientKeyExchange represents the raw key data sent by the client in TLS key exchange message.
ClientSessionState contains the state needed by clients to resume TLS sessions.
A Config structure is used to configure a TLS client or server.
No description provided by the author
A Conn represents a secured connection.
ConnectionState records basic TLS details about the connection.
DigitalSignature represents a signature for a digitally-signed-struct in the TLS record protocol.
No description provided by the author
No description provided by the author
FakeConn and FakeAddr are to allow unmarshaling of tls objects that contain net.Conn objects With the exeption of recovering the net.Addr strings contained in the JSON, any attempt to use these objects will result in a runtime panic().
Finished represents a TLS Finished message.
No description provided by the author
No description provided by the author
KeyMaterial explicitly represent the cryptographic values negotiated by the client and server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerHandshake stores all of the messages sent by the server during a standard TLS Handshake.
No description provided by the author
ServerKeyExchange represents the raw key data sent by the server in TLS key exchange message.
SessionTicket represents the new session ticket sent by the server to the client.
No description provided by the author
No description provided by the author
SimpleCertificate holds a *x509.Certificate and a []byte for the certificate.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
ClientSessionCache is a cache of ClientSessionState objects that can be used by a client to resume a TLS session with a given server.
# Type aliases
No description provided by the author
ClientAuthType declares the policy the server will follow for TLS Client Authentication.
No description provided by the author
CurveID is the type of a TLS identifier for an elliptic curve.
No description provided by the author
SignatureAndHash is a signatureAndHash that implements json.Marshaler and json.Unmarshaler.
SignatureScheme identifies a signature algorithm supported by TLS.
No description provided by the author