dcrd/certgen
Dave Collins 318d81bc90
multi: Wrap errors for better errors.Is/As support.
This updates all remaining cases of unwrapped errors in fmt.Errorf calls
to wrap the underlying errors with the %w format verb to ensure they
work nicely with errors.Is and errors.As.
2023-08-25 16:31:11 -05:00
..
certgen_ed25519.go multi: Wrap errors for better errors.Is/As support. 2023-08-25 16:31:11 -05:00
certgen_test.go Move self signed certificate code into certgen package. 2017-10-10 17:23:38 -04:00
certgen.go multi: Wrap errors for better errors.Is/As support. 2023-08-25 16:31:11 -05:00
doc.go multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
go.mod multi: Support module graph prune and lazy load. 2022-03-25 07:20:01 -05:00
net_noop.go multi: update build tags to pref. go1.17 syntax. 2021-10-19 20:21:44 -05:00
net.go multi: update build tags to pref. go1.17 syntax. 2021-10-19 20:21:44 -05:00
README.md multi: Update README.md files for go modules. 2021-01-22 14:39:23 -06:00

Certgen

Build Status ISC License Doc

Overview

This package contains functions for creating self-signed TLS certificate from random new key pairs, typically used for encrypting RPC and websocket communications.

ECDSA certificates are supported on all Go versions. Beginning with Go 1.13, this package additionally includes support for Ed25519 certificates.

Installation and Updating

This package is part of the github.com/decred/dcrd/certgen module. Use the standard go tooling for working with modules to incorporate it.

License

Package certgen is licensed under the copyfree ISC License.