testData

package
v0.0.0-...-0d5d430 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: BSD-2-Clause Imports: 5 Imported by: 0

README

This directory contains code from quic-go repo for

  • storing self signed certs
  • utility wrappers to populate cert pool for server and client

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRootCA

func AddRootCA(certPool *x509.CertPool)

AddRootCA adds the root CA certificate to a cert pool

func GetCertificatePaths

func GetCertificatePaths() (string, string)

GetCertificatePaths returns the paths to certificate and key

func GetRootCA

func GetRootCA() *x509.CertPool

GetRootCA returns an x509.CertPool containing (only) the CA certificate

func GetTLSConfig

func GetTLSConfig() *tls.Config

GetTLSConfig returns a tls config for quic.clemente.io

Types

This section is empty.

Jump to

Keyboard shortcuts

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