csp

package
v0.0.0-...-fbe82ab Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePrivateKey

func GeneratePrivateKey(keystorePath string) (bccsp.Key,
	crypto.Signer, error)

generateprivatekey创建一个私钥并将其存储在keystorepath中

func GetECPublicKey

func GetECPublicKey(priv bccsp.Key) (*ecdsa.PublicKey, error)

func LoadPrivateKey

func LoadPrivateKey(keystorePath string) (bccsp.Key, crypto.Signer, error)

loadprivatekey从keystorepath中的文件加载私钥

Types

This section is empty.

Jump to

Keyboard shortcuts

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