saltpack

package
v0.0.0-...-771c721 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyDetached

func VerifyDetached(reader io.Reader, signature string, validKIDs map[string]bool, log Log) error

VerifyDetached verifies a message signature

func VerifyDetachedCheckSender

func VerifyDetachedCheckSender(message io.Reader, signature []byte, checkSender func(sp.BasePublicKey) error) error

VerifyDetachedCheckSender verifies a message signature

func VerifyDetachedFileAtPath

func VerifyDetachedFileAtPath(path string, signature string, validKIDs map[string]bool, log Log) error

VerifyDetachedFileAtPath verifies a file

Types

type Log

type Log interface {
	Debugf(s string, args ...interface{})
	Infof(s string, args ...interface{})
}

Log is log interface for this package

Jump to

Keyboard shortcuts

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