doc.go 604 B

12345678910111213141516
  1. // Package roots includes support for loading trusted roots from
  2. // various sources.
  3. //
  4. // The following are supported trusted roout sources provided:
  5. //
  6. // The "system" type does not take any metadata. It will use the
  7. // default system certificates provided by the operating system.
  8. //
  9. // The "cfssl" provider takes keys for the CFSSL "host", "label", and
  10. // "profile", and loads the returned certificate into the trust store.
  11. //
  12. // The "file" provider takes a source file (specified under the
  13. // "source" key) that contains one or more certificates and adds
  14. // them into the source tree.
  15. package roots