package
1.4.7
Repository: https://github.com/hyperledger-labs/fabric.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ExpiresAt returns when the given identity expires, or a zero time.Time in case we cannot determine that.
GetRandomBytes returns len random looking bytes.
GetRandomNonce returns a random byte array of length NonceSize.
NewSignatureHeaderCreator creates new signature headers.
TrackExpiration warns a week before one of the certificates expires.

# Constants

NonceSize is the default NonceSize.

# Structs

SignatureHeaderCreator creates signature headers.

# Interfaces

IdentitySerializer serializes identities.
LocalSigner is a temporary stub interface which will be implemented by the local MSP.
SignatureHeaderMaker creates a new SignatureHeader.
Signer signs messages.
SignerSupport implements the needed support for LocalSigner.

# Type aliases

Scheduler invokes f after d time, and can be replaced with time.AfterFunc.
WarnFunc notifies a warning happened with the given format, and can be replaced with Warnf of a logger.