ccadb

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColSubject        = "Subject"
	ColIssuer         = "CA Owner"
	ColPEM            = "X.509 Certificate (PEM)"
	ColSHA            = "SHA-256 Fingerprint"
	ColUseCase        = "Intended Use Case(s) Served"
	UseCaseServerAuth = "Server Authentication (TLS) 1.3.6.1.5.5.7.3.1"
	KnownHeaders      = []string{ColSubject, ColIssuer, ColPEM, ColSHA, ColUseCase}
)

Functions

func Fetch

func Fetch(ctx context.Context, url string, fetchHeaders []string) ([][][]byte, error)

Fetch retrieves a CCADB CSV and returns rows with a Use Case set to Server Authentication.

It expects the CSV to have a header with at least the following columns:

Subject, CA Owner, X.509 Certificate (PEM), SHA-256 Fingerprint, Intended Use Case(s) Served

Callers chose which columns are returned, and can request additional ones.

Types

This section is empty.

Jump to

Keyboard shortcuts

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