certificates

package
v0.0.0-...-a164be7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package certificates is used to enumerate the system certificate authorities on Windows.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSystemCertificates

func GetSystemCertificates(storeName string) (<-chan Entry, error)

GetSystemCertificates returns the Windows system certificates from the given certificate store. Typical store names are strings like "CA", "Root", "My".

Types

type Entry

type Entry struct {
	Cert *x509.Certificate
	Err  error
}

Entry is one enumeration result; it holds either a valid certificate or an error. They are mutually exclusive.

Jump to

Keyboard shortcuts

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