tls

package
v0.0.0-...-60af40a Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClaimedPeerIdentity

func ClaimedPeerIdentity(c *tls.ConnectionState) identity.Identity

func NewTlsClient

func NewTlsClient(vault identity.VaultI) (*tls.Config, error)

func VerifyPeerCertificate

func VerifyPeerCertificate(certificates [][]byte, verifiedChains [][]*x509.Certificate) error

func VerifyPeerIdentity

func VerifyPeerIdentity(expected *identity.Identity) func(certificates [][]byte, verifiedChains [][]*x509.Certificate) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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