Documentation ¶
Index ¶
- func ECPrivKeyToPEM(privKey *btcec.PrivateKey) ([]byte, error)
- func EncodeECParams() ([]byte, error)
- func EncodeECPrivKey(privKey *btcec.PrivateKey) ([]byte, error)
- func EncodeECPubKey(pubKey *btcec.PublicKey) ([]byte, error)
- func EncodeECSig(sig *btcec.Signature) []byte
- func IsSecp256k1(actual asn1.ObjectIdentifier) bool
- func LoadECPrivKey(identityFile string) (*btcec.PrivateKey, error)
- func PEMToECPrivKey(data []byte) (*btcec.PrivateKey, error)
- func Secp256k1() asn1.ObjectIdentifier
- type ECPrivKey
- type ECPubKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ECPrivKeyToPEM ¶
func ECPrivKeyToPEM(privKey *btcec.PrivateKey) ([]byte, error)
func EncodeECParams ¶
func EncodeECPrivKey ¶
func EncodeECPrivKey(privKey *btcec.PrivateKey) ([]byte, error)
func EncodeECSig ¶ added in v1.6.1
func IsSecp256k1 ¶
func IsSecp256k1(actual asn1.ObjectIdentifier) bool
func LoadECPrivKey ¶
func LoadECPrivKey(identityFile string) (*btcec.PrivateKey, error)
func PEMToECPrivKey ¶
func PEMToECPrivKey(data []byte) (*btcec.PrivateKey, error)
func Secp256k1 ¶
func Secp256k1() asn1.ObjectIdentifier
Types ¶
Click to show internal directories.
Click to hide internal directories.