-
Notifications
You must be signed in to change notification settings - Fork 4
/
doc.go
20 lines (16 loc) · 803 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2015 Gareth Watts
// Licensed under an MIT license
// See the LICENSE file for details
/*
Package rootcerts provides a Go conversion of Mozilla's certdata.txt
file, extracting trusted CA certificates only.
It was generated using the gencerts tool using the following command line:
gencerts -download -target rootcerts.go -package rootcerts
This package allows for the embedding of root CA certificates directly into
a Go executable, reducing or negating the need for Go to have access to root
certificates provided by the operating system in order to validate certificates
issued by those authorities.
Root certificates can be accessed through this package, or may be easily installed
into the http package's DefaultTransport by calling UpdateDefaultTransport.
*/
package rootcerts