Documentation ¶
Index ¶
- func BtAddrFromAdvKey(key []byte) []byte
- func Decrypt(f io.ReadSeeker, key []byte) ([]byte, error)
- func X963KDF(secret, sharedInfo []byte, keyLength int) ([]byte, error)
- type Beacon
- type DeviceLocations
- type Info
- type Key
- type KeyData
- type KeyPair
- type Locations
- type P
- type Payload
- type Report
- type SearchResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BtAddrFromAdvKey ¶
Types ¶
type Beacon ¶
type Beacon struct { ProductId int `plist:"productId"` CloudkitMetadata []byte `plist:"cloudKitMetadata"` StableIdentifier []string `plist:"stableIdentifier"` PairingDate time.Time `plist:"pairingDate"` BatteryLevel int `plist:"batteryLevel"` IsZeus bool `plist:"isZeus"` PrivateKey Key `plist:"privateKey"` Identifier string `plist:"identifier"` SystemVersion string `plist:"systemVersion"` Model string `plist:"model"` VendorId int `plist:"vendorId"` PublicKey Key `plist:"publicKey"` }
type DeviceLocations ¶
type KeyPair ¶
type KeyPair struct {
// contains filtered or unexported fields
}
func NewKeyPair ¶
func (*KeyPair) AdvKeyBytes ¶
func (*KeyPair) HashedAdvKey ¶
func (*KeyPair) PrivateKey ¶
type Report ¶
type SearchResponse ¶
type SearchResponse struct { ConfigVersion int `json:"configVersion"` AcsnLocations Locations `json:"acsnLocations"` OwnedDeviceLocations DeviceLocations `json:"ownedDeviceLocations"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.