Documentation
¶
Overview ¶
Package sign provides wrappers to compute a signature of data written to an io.Writer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { // Performs the signing, and provides implementations for Write and // WriteString. *Writer // contains filtered or unexported fields }
File is a writable file that will compute it's signature while it is written to. When closed, it will write the signature to the provided io.Writer.
func NewFile ¶
NewFile wraps the provided writerFile in a signed File. When the file is closed, its signature is written to w.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is a wrapper that will compute a signature of all the data written to its writer.
Click to show internal directories.
Click to hide internal directories.