Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeConfig ¶
NodeConfig used to represent the local and remote config
type SigVerifierConfig ¶
type SigVerifierConfig struct {
SigDataHash hash.Hash
Scheme crypto.SigScheme
PublicKeyData []byte
// contains filtered or unexported fields
}
SigVerifierConfig used to represent a verification key to check received singatures
func (*SigVerifierConfig) PublicKey ¶
func (svc *SigVerifierConfig) PublicKey() crypto.SigPublicKey
PublicKey constructed from public key data, nil on failure LastError contains the error that caused a failure
func (*SigVerifierConfig) PublicKeyHash ¶
func (svc *SigVerifierConfig) PublicKeyHash(hash hash.Hash) []byte
PublicKeyHash generates from public key data
Click to show internal directories.
Click to hide internal directories.