certstore

package
v0.0.0-...-28d3366 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const SupportedAlgorithm = tls.PSSWithSHA256

TLS cipher suites: https://www.rfc-editor.org/rfc/rfc8446.html#section-9.1

Variables

This section is empty.

Functions

This section is empty.

Types

type CertInfo

type CertInfo struct {
	Certificate *x509.Certificate
	PrivateKey  crypto.Signer

	CommonName       string
	IssuerCommonName string
	KeyUsage         int
	NotAfter         string
	SerialNumber     *big.Int
}

type CertStore

type CertStore struct {
	ValidCerts map[string]CertInfo
}

func New

func New() (*CertStore, error)

New connects to the Windows certstore, retrieves all valid certificates and returns them to the caller

Jump to

Keyboard shortcuts

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