truststore

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeTrustStoreHookFunc

func DecodeTrustStoreHookFunc() mapstructure.DecodeHookFunc

Types

type TrustStore

type TrustStore []*x509.Certificate

func NewTrustStoreFromPEMBytes

func NewTrustStoreFromPEMBytes(pemBytes []byte, strict bool) (TrustStore, error)

func NewTrustStoreFromPEMFile

func NewTrustStoreFromPEMFile(pemFilePath string, strict bool) (TrustStore, error)

func (*TrustStore) CertPool

func (ts *TrustStore) CertPool() *x509.CertPool

Jump to

Keyboard shortcuts

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