sign(data:forVehicle:)
Sign data with the endpoint.SK identified by vehicleIdentifier as described in the section “OEM App Data Attestation” of the Car Connectivity Consortium Digital Key Release 3.0 specification.
Declaration
func sign(data: Data, forVehicle vehicleID: String) throws -> CarKeyRemoteControlSession.AttestationParameters
- data:
The OEM App Data to sign.
- vehicleID:
The vehicle identifier.
Return Value
An Attestation object.
Discussion
This method can only be used while the application is in the foreground.