certcfg

package
v0.0.0-...-eebbbbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountPrivKeyType = "EC PRIVATE KEY"
	KeyAccountPrivKey  = "AccountPrivKey"
)
View Source
const (
	AppName = "certbot-go"
)

Variables

View Source
var (
	DB *leveldb.DB
)

Functions

func Get

func Get(key string) ([]byte, error)

func GetAccountPrivKey

func GetAccountPrivKey() (crypto.Signer, error)

func Put

func Put(key string, value []byte) error

func StoreCSR

func StoreCSR(outCsrPath string, csr []byte) error

StoreCSR 保存 CSR 到 outCsrPath

func StoreECPrivateKey

func StoreECPrivateKey(outPrivKeyPath string, priv *ecdsa.PrivateKey) error

StoreECPrivateKey 保存EC私钥到 outPrivKeyPath

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL