xar

package
v8.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Signature

type Signature struct {
	HashFunc     crypto.Hash
	Signature    *pkcs9.TimestampedSignature
	NotaryTicket []byte
}

type SignatureParams

type SignatureParams struct {
	HashFunc crypto.Hash
}

type XAR

type XAR struct {
	HashFunc         crypto.Hash
	TOCHash          []byte
	Certificates     []*x509.Certificate
	ClassicSignature []byte
	CMSSignature     []byte
	NotaryTicket     []byte
	// contains filtered or unexported fields
}

func Open

func Open(r io.ReaderAt, size int64) (*XAR, error)

func (*XAR) Verify

func (x *XAR) Verify(skipDigests bool) (*Signature, error)

Jump to

Keyboard shortcuts

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