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.
Click to show internal directories.
Click to hide internal directories.