certloader

package
v1.3.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package certloader loads and reloads X.509 certs.

  • Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(certFile, keyFile string, tstats cos.StatsUpdater) (err error)

(htrun only)

func Load

func Load() (err error)

via (Init, API call)

func Props

func Props() (out cos.StrKVs)

Types

type GetCertCB

type GetCertCB func(_ *tls.ClientHelloInfo) (*tls.Certificate, error)

tls.Config.GetCertificate

func GetCert

func GetCert() (GetCertCB, error)

type GetClientCertCB

type GetClientCertCB func(_ *tls.CertificateRequestInfo) (*tls.Certificate, error)

tls.Config.GetClientCertificate

func GetClientCert

func GetClientCert() (GetClientCertCB, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL