Platform MFi Authentication
IntroductionThis header contains function prototypes called by Apple code that must be implemented by the platform. These functions are called when Apple code needs to interact with the Apple Authentication Coprocessor. Please refer to the relevant version of the "Auth IC" document to obtain more details on how to interact with the Authentication Coprocessor. This document can be found on the MFi Portal. Functions
PlatformMFiAuthCopyCertificateCopy the certificate from the Apple Authentication Coprocessor. OSStatus PlatformMFiAuthCopyCertificate( uint8_t **outCertificatePtr, size_t *outCertificateLen ); ParametersPlatformMFiAuthCreateSignatureCreate an RSA signature from the specified SHA-1 digest using the Apple Authentication Coprocessor. OSStatus PlatformMFiAuthCreateSignature( const void *inDigestPtr, size_t inDigestLen, uint8_t **outSignaturePtr, size_t *outSignatureLen ); ParametersPlatformMFiAuthFinalizePerforms any platform-specific cleanup needed. Example: Bringing down the I2C interface for communication with the Apple Authentication Coprocessor. void PlatformMFiAuthFinalize( void ); PlatformMFiAuthInitializePerforms any platform-specific initialization needed. Example: Bring up I2C interface for communication with the Apple Authentication Coprocessor. OSStatus PlatformMFiAuthInitialize( void ); |