hlfcreator

package
v0.0.0-...-9c114de Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDecodeSerializedIdentity = errors.New("failed to validate block after decode pem 'SerializedIdentity.IdBytes', block can't be nil or empty")

Functions

func CreatorSKIAndHashedCert

func CreatorSKIAndHashedCert(creator []byte) (creatorSKI [32]byte, hashedCert [32]byte, err error)

func ValidateAdminCreator

func ValidateAdminCreator(creator []byte) error

ValidateAdminCreator checks if the creator of the transaction is an admin.

func ValidateSKI

func ValidateSKI(sourceSKI []byte, expectedSKI [32]byte, expectedHashedCert [32]byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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