keymaster

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HardwareAuthToken

type HardwareAuthToken struct {
	Challenge         int64
	UserId            int64
	AuthenticatorId   int64
	AuthenticatorType HardwareAuthenticatorType
	Timestamp         Timestamp
	Mac               []byte
}

func (*HardwareAuthToken) MarshalParcel

func (s *HardwareAuthToken) MarshalParcel(
	p *parcel.Parcel,
) error

func (*HardwareAuthToken) UnmarshalParcel

func (s *HardwareAuthToken) UnmarshalParcel(
	p *parcel.Parcel,
) error

type HardwareAuthenticatorType

type HardwareAuthenticatorType int32
const (
	HardwareAuthenticatorTypeNONE        HardwareAuthenticatorType = 0
	HardwareAuthenticatorTypePASSWORD    HardwareAuthenticatorType = (1 << 0)
	HardwareAuthenticatorTypeFINGERPRINT HardwareAuthenticatorType = (1 << 1)
	HardwareAuthenticatorTypeANY         HardwareAuthenticatorType = -1
)

type SecurityLevel

type SecurityLevel int32
const (
	SecurityLevelSOFTWARE           SecurityLevel = 0
	SecurityLevelTrustedEnvironment SecurityLevel = 1
	SecurityLevelSTRONGBOX          SecurityLevel = 2
)

type Timestamp

type Timestamp struct {
	MilliSeconds int64
}

func (*Timestamp) MarshalParcel

func (s *Timestamp) MarshalParcel(
	p *parcel.Parcel,
) error

func (*Timestamp) UnmarshalParcel

func (s *Timestamp) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VerificationToken

type VerificationToken struct {
	Challenge     int64
	Timestamp     Timestamp
	SecurityLevel SecurityLevel
	Mac           []byte
}

func (*VerificationToken) MarshalParcel

func (s *VerificationToken) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VerificationToken) UnmarshalParcel

func (s *VerificationToken) UnmarshalParcel(
	p *parcel.Parcel,
) error

Jump to

Keyboard shortcuts

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