doc.go 869 B

1234567891011121314151617
  1. // Package bundler provides an API for creating certificate bundles,
  2. // which contain a trust chain of certificates. Generally, the bundles
  3. // will also include the private key (but this is not strictly
  4. // required). In this package, a bundle refers to a certificate with
  5. // full trust chain -- all certificates in the chain in one file or
  6. // buffer.
  7. //
  8. // The first step in creating a certificate bundle is to create a
  9. // Bundler. A Bundler must be created from a pre-existing certificate
  10. // authority bundle and an intermediate certificate bundle. Once the
  11. // Bundler is initialised, bundles may be created using a variety of
  12. // methods: from PEM- or DER-encoded files, directly from the relevant
  13. // Go structures, or by starting with the certificate from a remote
  14. // system. These functions return a Bundle value, which may be
  15. // serialised to JSON.
  16. package bundler