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 ¶
View Source
var RootCertsPool = map[string]*x509.CertPool{ CCADBTLS: nil, CCADBSMIME: nil, GOOGLESERVICES: nil, APPLE: nil, MICROSOFTWINDOWS: nil, JAVA: nil, UBUNTU: nil, }
Functions ¶
func IsEmptyRootCertsPool ¶
func IsEmptyRootCertsPool() bool
func RemoveDownloadedRootCertificates ¶
func RemoveDownloadedRootCertificates()
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.