package
Version:
v1.45.1
Opens a new window with list of versions in this module.
Published: Oct 29, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mtls provides synthetic certificate fixtures for mTLS tests.
WriteClientFiles writes synthetic client credentials to private temporary files.
type PKI struct {
RootPEM []byte
ClientLeafPEM []byte
ClientChainPEM []byte
ClientKeyPEM []byte
}
PKI contains synthetic PEM data for mTLS tests.
NewPKI creates a synthetic root, intermediate, and client certificate chain.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.