signxap

package
v7.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 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