Documentation
¶
Index ¶
- func AssembleCompositionTx(composition Data, privkey crypto.PrivateKey, signatures []string, splits []int) (Data, error)
- func AssembleLicenseTx(license Data, privkey crypto.PrivateKey, pubkey crypto.PublicKey) (Data, error)
- func AssembleRecordingTx(privkey crypto.PrivateKey, recording Data, signatures []string, splits []int) (Data, error)
- func AssembleRightTransferTx(consumeId string, recipientId string, recipientKey crypto.PublicKey, ...) (Data, []string, error)
- func AssembleRightTx(percentShares int, previousRightId string, privkey crypto.PrivateKey, ...) (Data, error)
- func CheckArtist(artistId, recordingId string) (Data, crypto.PublicKey, error)
- func CheckComposer(composerId, compositionId string) (Data, crypto.PublicKey, error)
- func CheckLicenseHolder(licenseHolderId, licenseId string) (Data, crypto.PublicKey, error)
- func CheckOutputOwnerAfter(output Data) (crypto.PublicKey, error)
- func CheckPublisher(compositionId, publisherId string) (Data, crypto.PublicKey, error)
- func CheckRecordLabel(recordingId, recordLabelId string) (Data, crypto.PublicKey, error)
- func CheckRightHolder(rightHolderId, rightId string) (Data, crypto.PublicKey, error)
- func CheckTxOwnerBefore(tx Data) (crypto.PublicKey, error)
- func CheckTxOwnersBefore(tx Data, n int) ([]crypto.PublicKey, error)
- func ProveArtist(artistId, challenge string, privkey crypto.PrivateKey, recordingId string) (crypto.Signature, error)
- func ProveComposer(challenge, composerId string, compositionId string, privkey crypto.PrivateKey) (crypto.Signature, error)
- func ProveLicenseHolder(challenge, licenseHolderId, licenseId string, privkey crypto.PrivateKey) (crypto.Signature, error)
- func ProvePublisher(challenge, compositionId string, privkey crypto.PrivateKey, publisherId string) (crypto.Signature, error)
- func ProveRecordLabel(challenge string, privkey crypto.PrivateKey, recordingId, recordLabelId string) (crypto.Signature, error)
- func ProveRightHolder(challenge string, privkey crypto.PrivateKey, rightHolderId, rightId string) (crypto.Signature, error)
- func ValidateCompositionId(compositionId string) (Data, error)
- func ValidateCompositionTx(compositionTx Data) (err error)
- func ValidateLicenseId(licenseId string) (Data, error)
- func ValidateLicenseTx(tx Data) (err error)
- func ValidateRecordingId(recordingId string) (Data, error)
- func ValidateRecordingTx(recordingTx Data) (err error)
- func ValidateRightId(rightId string) (Data, error)
- func ValidateRightTx(tx Data) (err error)
- func ValidateTransferId(transferId string) (Data, error)
- func ValidateTransferTx(tx Data) error
- func ValidateUserId(id string) (Data, error)
- func ValidateUserTx(tx Data) (err error)
- func VerifyArtist(artistId, challenge string, recordingId string, sig crypto.Signature) error
- func VerifyComposer(challenge, composerId, compositionId string, sig crypto.Signature) error
- func VerifyLicenseHolder(challenge, licenseHolderId, licenseId string, sig crypto.Signature) error
- func VerifyPublisher(challenge, compositionId, publisherId string, sig crypto.Signature) error
- func VerifyRecordLabel(challenge string, recordingId, recordLabelId string, sig crypto.Signature) error
- func VerifyRightHolder(challenge string, rightHolderId, rightId string, sig crypto.Signature) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssembleCompositionTx ¶
func AssembleCompositionTx(composition Data, privkey crypto.PrivateKey, signatures []string, splits []int) (Data, error)
func AssembleLicenseTx ¶
func AssembleLicenseTx(license Data, privkey crypto.PrivateKey, pubkey crypto.PublicKey) (Data, error)
func AssembleRecordingTx ¶
func AssembleRecordingTx(privkey crypto.PrivateKey, recording Data, signatures []string, splits []int) (Data, error)
func AssembleRightTransferTx ¶
func AssembleRightTx ¶
func CheckComposer ¶
func CheckLicenseHolder ¶
func CheckOutputOwnerAfter ¶
func CheckPublisher ¶
func CheckRecordLabel ¶
func CheckRightHolder ¶
func CheckTxOwnerBefore ¶
func ProveArtist ¶
func ProveComposer ¶
func ProveLicenseHolder ¶
func ProvePublisher ¶
func ProveRecordLabel ¶
func ProveRightHolder ¶
func ValidateCompositionId ¶
func ValidateCompositionTx ¶
func ValidateCompositionTx(compositionTx Data) (err error)
func ValidateLicenseId ¶
func ValidateLicenseTx ¶
func ValidateLicenseTx(tx Data) (err error)
func ValidateRecordingId ¶
func ValidateRecordingTx ¶
func ValidateRecordingTx(recordingTx Data) (err error)
func ValidateRightId ¶
func ValidateRightTx ¶
func ValidateRightTx(tx Data) (err error)
func ValidateTransferId ¶
func ValidateTransferTx ¶
func ValidateTransferTx(tx Data) error
func ValidateUserId ¶
func ValidateUserTx ¶
func ValidateUserTx(tx Data) (err error)
func VerifyArtist ¶
func VerifyComposer ¶
func VerifyLicenseHolder ¶
func VerifyPublisher ¶
func VerifyRecordLabel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.