keybox

package
v0.0.0-...-810e5af Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(path string) error

Types

type Attestation

type Attestation struct {
	XMLName          xml.Name `xml:"AndroidAttestation"`
	NumberOfKeyboxes int      `xml:"NumberOfKeyboxes"`
	Keyboxes         []Keybox `xml:"Keybox"`
}

type Certificate

type Certificate struct {
	Format string `xml:"format,attr"`
	Data   string `xml:",chardata"`
}

type CertificateChain

type CertificateChain struct {
	NumberOfCertificates int           `xml:"NumberOfCertificates"`
	Certificates         []Certificate `xml:"Certificate"`
}

type Key

type Key struct {
	Algorithm        string           `xml:"algorithm,attr"`
	PrivateKey       PrivateKey       `xml:"PrivateKey"`
	CertificateChain CertificateChain `xml:"CertificateChain"`
}

type Keybox

type Keybox struct {
	DeviceID string `xml:"DeviceID,attr"`
	Keys     []Key  `xml:"Key"`
}

type PrivateKey

type PrivateKey struct {
	Format string `xml:"format,attr"`
	Data   string `xml:",chardata"`
}

Jump to

Keyboard shortcuts

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