Documentation ¶
Overview ¶
Package authchip implements a Golang module to talk to an Apple MFI authentication chip. The protocol is documented in this software released under the Apache2.0 license: https://github.com/apple/HomeKitADK/blob/master/HAP/HAPMFiHWAuth.c
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chip ¶
type Chip struct {
// contains filtered or unexported fields
}
func New ¶
func New(i2cFunc I2CFuncType, powerFunc PowerSwitchType, i2cMaxTransfer int, logFunc LogFunc) (*Chip, error)
func (*Chip) CertificateRawPKCS7 ¶
func (*Chip) CertificateX509 ¶
func (m *Chip) CertificateX509() *x509.Certificate
func (*Chip) SerialNumber ¶
type ChipInfo ¶
type PowerSwitchType ¶
Click to show internal directories.
Click to hide internal directories.