keys

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractKeyFromPem

func ExtractKeyFromPem(pm string) (*btcec.PrivateKey, *btcec.PublicKey)

Returns a btec.Private key object if provided a correct secp256k1 encoded pem.

func GetPublicKeyFromBytes

func GetPublicKeyFromBytes(pubKeyBytes []byte) (*btcec.PublicKey, error)

func PublicKeyToDER

func PublicKeyToDER(publicKey *btcec.PublicKey) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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