package
0.5.1
Repository: https://github.com/xmidt-org/arrange.git
Documentation: pkg.go.dev

# Functions

CreateTestCertificate creates a self-signed x509 ceritificate for use in testing TLS code.
CreateTestServerFiles creates the certificate file and key file expected by net/http.Server, which is the basic model followed by mode golang TLS code.
NewPeerVerifiers returns a PeerVerifiers given a sequence of strategies.

# Variables

No description provided by the author
No description provided by the author

# Structs

Config represents the unmarshaled tls options for either a client or a server.
ExternalCertificate represents a certificate with its key file on the filesystem.
PeerVerifiers is an immutable sequence of PeerVerifiers.
PeerVerifyConfig allows common checks against a client-side certificate to be configured externally.
PeerVerifyError represents a verification error for a particular certificate.
Suite is a simple stretchr/testify suite that manages the lifecycle of a testing certificate.

# Type aliases

ExternalCertificates is a sequence of externally available certificates.
ExternalCertPool is a sequence of file names containing PEM-encoded certificates or certificate bundles to be added to an x509.CertPool.
PeerVerifier is a verification strategy for a peer certificate.