# README
truststore
Package to locally install development certificates.
# Packages
No description provided by the author
# Functions
No description provided by the author
Install installs the given certificate into the system truststore, and optionally to the Firefox and Java trustores.
InstallFile will read the certificate in the given file and install it to the system truststore, and optionally to the Firefox and Java truststores.
NewCmdError creates a new CmdError.
NewJavaTrust initializes a new JavaTrust if the environment has java installed.
NewNSSTrust creates a new NSSTrust.
ReadCertificate reads a certificate file and returns a x509.Certificate struct.
SaveCertificate saves the given x509.Certificate with the given filename.
Uninstall removes the given certificate from the system truststore, and optionally from the Firefox and Java truststres.
UninstallFile reads the certificate in the given file and removes it from the system truststore, and optionally to the Firefox and Java truststores.
WithDebug enables debug logging messages.
WithFirefox enables the install or uninstall of a certificate in the Firefox truststore.
WithJava enables the install or uninstall of a certificate in the Java truststore.
WithNoSystem disables the install or uninstall of a certificate in the system truststore.
WithPrefix sets a custom prefix for the truststore name.
WithTrust enables the given trust.
# Variables
CertutilInstallHelp is the command to run on linux to add NSS support.
ErrInvalidCertificate is the error to indicate that a cert contains bad data.
ErrNotFound is the error to indicate that a cert was not found.
ErrNotSupported is the error to indicate that the install of the certificate is not supported on the system.
ErrTrustExists is the error returned when a trust already exists.
ErrTrustNotFound is the error returned when a trust does not exists.
ErrTrustNotSupported is the error returned when a trust is not supported.
JavaStorePass is the default store password of the keystore.
NSSProfile is the path of the Firefox profiles.
SystemTrustCommand is the command used to update the system truststore.
SystemTrustFilename is the format used to name the root certificates.
# Interfaces
Trust is the interface that non-system trustores implement to add and remove a certificate on its trustore.
# Type aliases
Option is the type used to pass custom options.