rootstores

package
v0.0.0-...-e9c7aa1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppleRootStoreFile     = "shared_dir/apple-keychain-certs.pem"
	AppleS3RootStorePrefix = "rootstores/format=raw/store=apple"
)
View Source
const (
	MicrosofCodeSigningtUrl      = "https://ccadb.my.salesforce-sites.com/microsoft/IncludedRootsPEMCSVForMSFT?MicrosoftEKUs=Code%20Signing"
	MicrosoftCodeSigningFile     = "shared_dir/IncludedRootsPEMForMSFT.csv"
	MicrosoftS3CodeSigningPrefix = "rootstores/format=raw/store=microsoft-code-signing"
	WindowsRootStoreFile         = "shared_dir/windows-rootstore.zip"
	WindowsRootStoreDir          = "shared_dir/windows-rootstore/"
	WindowsS3Prefix              = "rootstores/format=raw/store=microsoft-windows"
)
View Source
const (
	TlsUrl             = "https://ccadb.my.salesforce-sites.com/mozilla/IncludedRootsDistrustTLSSSLPEMCSV?TrustBitsInclude=Websites"
	SMimeUrl           = "https://ccadb.my.salesforce-sites.com/mozilla/IncludedRootsDistrustSMIMEPEMCSV?TrustBitsInclude=Email"
	TlsRootsFile       = "shared_dir/IncludedRootsDistrustTLSSSLPEM.csv"
	SMimeRootsFile     = "shared_dir/IncludedRootsDistrustSMIMEPEM.csv"
	CCADBTlsS3Prefix   = "rootstores/format=raw/store=ccadb-tls"
	CCADBSMimeS3Prefix = "rootstores/format=raw/store=ccadb-smime"
)
View Source
const (
	CCADBTLSTYPE uint = iota
	CCADBSMIMETYPE
)
View Source
const (
	GoogleServicesURL               = "https://pki.goog/roots.pem"
	GoogleServicesFile              = "shared_dir/google_services_root.pem"
	GoogleServicesS3RootStorePrefix = "rootstores/format=raw/store=google-services"
)
View Source
const (
	JavaRootStoreDir = "shared_dir/java-rootstore/"
	JavaS3Prefix     = "rootstores/format=raw/store=java/" // needs to add "version="
)
View Source
const (
	CCADBTLS             = "CCADBTLS"
	CCADBSMIME           = "CCADBSMIME"
	GOOGLESERVICES       = "GOOGLESERVICES"
	APPLE                = "APPLE"
	MICROSOFTWINDOWS     = "MICROSOFTWINDOWS"
	MICROSOFTCODESIGNING = "MICROSOFTCODESIGNING"
	CUSTOM               = "CUSTOM"
	JAVA                 = "JAVA"
	UBUNTU               = "UBUNTU"
)
View Source
const (
	UbuntuRootStoreDir = "shared_dir/ubuntu-rootstore/"
	UbuntuS3Prefix     = "rootstores/format=raw/store=ubuntu"
)

Variables

Functions

func IsEmptyRootCertsPool

func IsEmptyRootCertsPool() bool

func LoadCCADBRoots

func LoadCCADBRoots(rootType uint, scanDate time.Time) ([]string, error)

func LoadMicrosoftCodeSigningRoot

func LoadMicrosoftCodeSigningRoot() ([]string, error)

func PoolRootCerts

func PoolRootCerts(rootCAfile string, scanDate time.Time) error

func RemoveDownloadedRootCertificates

func RemoveDownloadedRootCertificates()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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