Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPemPair ¶
func PemToPrivateKey ¶
func PemToPrivateKey(priv []byte) (*btcec.PrivateKey, error)
func PrivateKeyToPem ¶
func PrivateKeyToPem(priv *btcec.PrivateKey) ([]byte, error)
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func NewPrivateKeyFromPem ¶
func NewPrivateKeyFromPem(content []byte) (PrivateKey, error)
func NewPrivateKeyFromPemFile ¶
func NewPrivateKeyFromPemFile(path string) (PrivateKey, error)
func (PrivateKey) PublicKeyBytes ¶
func (v PrivateKey) PublicKeyBytes() []byte
type PublicKey ¶
func NewPublicKey ¶
Click to show internal directories.
Click to hide internal directories.