Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CA is the name of the system store that contains // intermediate certificates. CA = "CA" // My is the name of the system store that contains per-user // private keys. // // For TLS servers and client certs. My = "MY" // Root is the name of the system store that contains root // certificates. Root = "ROOT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a certificate store.
func OpenSystemStore ¶
OpenSystemStore opens the named system certificate store.
func (*Store) AppendCertsFromPEM ¶
AppendCertsFromPEM appends the PEM-encoded certificates to the store and reports whether at least one certificate was added.
func (*Store) RemoveCertsFromPEM ¶
RemoveCertsFromPEM removes the PEM-encoded certificates from the store.
Click to show internal directories.
Click to hide internal directories.