Documentation ¶
Index ¶
Constants ¶
View Source
const (
NonceSize = 24
)
Variables ¶
This section is empty.
Functions ¶
func GetRandomBytes ¶
func GetRandomNonce ¶
Types ¶
type IdentitySerializer ¶
type LocalSigner ¶
type LocalSigner interface { SignatureHeaderMaker Signer }
type SignatureHeaderCreator ¶
type SignatureHeaderCreator struct {
SignerSupport
}
func NewSignatureHeaderCreator ¶
func NewSignatureHeaderCreator(ss SignerSupport) *SignatureHeaderCreator
func (*SignatureHeaderCreator) NewSignatureHeader ¶
func (bs *SignatureHeaderCreator) NewSignatureHeader() (*cb.SignatureHeader, error)
type SignatureHeaderMaker ¶
type SignatureHeaderMaker interface {
NewSignatureHeader() (*cb.SignatureHeader, error)
}
type SignerSupport ¶
type SignerSupport interface { Signer IdentitySerializer }
Click to show internal directories.
Click to hide internal directories.