dcrd/certgen/doc.go
Josh Rickmar e0f90bd324 certgen: Support Ed25519 cert generation on Go 1.13
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.
2019-06-06 23:29:54 -05:00

19 lines
573 B
Go

// Copyright (c) 2017 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
/*
Package certgen includes a common base for creating a
new TLS certificate key pair.
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.
*/
package certgen