mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
This adds the function NewEd25519TLSCertPair which uses Ed25519 keys rather than ECDSA keys as required by NewTLSCertPair. Conditional compilation is used to provide the function only on Go 1.13. It also updates the documentation accordingly. |
||
|---|---|---|
| .. | ||
| certgen_ed25519.go | ||
| certgen_test.go | ||
| certgen.go | ||
| doc.go | ||
| go.mod | ||
| net_noop.go | ||
| net.go | ||
| README.md | ||
Certgen
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
$ go get -u github.com/decred/dcrd/certgen
License
Package certgen is licensed under the copyfree ISC License.