type42

package
v1.0.0-beta.40 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDeriveKey = models.SPVError{Message: "Failed to derive a child key for provided public key", StatusCode: 500, Code: "error-derive-key"}

ErrDeriveKey is an error that occurs when a child key cannot be derived from a public key.

Functions

func Destination

func Destination(pubKey *primitives.PublicKey, referenceID string) (*primitives.PublicKey, error)

Destination derives a public key using a reference ID. It is intended to be used to derive a public key for paymail destinations.

func PaymailPKI

func PaymailPKI(pubKey *primitives.PublicKey, alias, domain string) (*primitives.PublicKey, string, error)

PaymailPKI (Public Key Infrastructure) derives a public key using a constant derivation key for provided paymail.

Types

This section is empty.

Jump to

Keyboard shortcuts

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