Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed cert.pem CertPEM []byte Cert *x509.Certificate //go:embed cert-key.pem KeyPEM []byte Key PrivateKey //go:embed cacert.pem CACertPEM []byte CACert *x509.Certificate Certs []*x509.Certificate CertPool *x509.CertPool //go:embed clientauth_admin.pem ClientAuthAdminCertPEM []byte ClientAuthAdminCert *x509.Certificate ClientAuthAdminCerts []*x509.Certificate //go:embed clientauth_admin-key.pem ClientAuthAdminKeyPEM []byte ClientAuthAdminKey PrivateKey //go:embed clientauth_readonly.pem ClientAuthReadOnlyCertPEM []byte ClientAuthReadOnlyCert *x509.Certificate ClientAuthReadOnlyCerts []*x509.Certificate //go:embed clientauth_readonly-key.pem ClientAuthReadOnlyKeyPEM []byte ClientAuthReadOnlyKey PrivateKey //go:embed clientauth_invalid.pem ClientAuthInvalidCertPEM []byte ClientAuthInvalidCert *x509.Certificate //go:embed clientauth_invalid-key.pem ClientAuthInvalidKeyPEM []byte ClientAuthInvalidKey PrivateKey //go:embed clientauth_cacert.pem ClientAuthCACertPEM []byte ClientAuthCACert *x509.Certificate )
View Source
var TLSHTTPClient *http.Client
Functions ¶
This section is empty.
Types ¶
type PrivateKey ¶
type PrivateKey struct { DER []byte Parsed crypto.PrivateKey }
Click to show internal directories.
Click to hide internal directories.