signxap

package
v7.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SpcUUIDSipInfoXap = []byte{0x6F, 0xA6, 0x08, 0xBA, 0x3B, 0x11, 0x58, 0x4D, 0x93, 0x29, 0xA1, 0xB3, 0x7A, 0xF3, 0x0F, 0x0E}
)

Functions

This section is empty.

Types

type XapDigest

type XapDigest struct {
	Hash       crypto.Hash
	Imprint    []byte
	PatchStart int64
	PatchLen   int64
}

func DigestXapTar

func DigestXapTar(r io.Reader, hash crypto.Hash, doPageHash bool) (*XapDigest, error)

func (*XapDigest) Sign

type XapSignature

type XapSignature struct {
	pkcs9.TimestampedSignature
	Hash crypto.Hash
}

func Verify

func Verify(r io.ReaderAt, size int64, skipDigests bool) (*XapSignature, error)

Jump to

Keyboard shortcuts

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