MFi-SAP
IntroductionAPIs and platform interfaces for the Made for iPod (MFi) Security Association Protocol (SAP). This header contains function prototypes that must be implemented by the platform. These functions are called when the Apple software stack needs to interact with the MFi 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. GroupsMFi-SAPAPIs for performing the Made for iPod (MFi) Security Association Protocol (SAP). Group members:
Functions
APSMFiPlatform_CopyCertificateCopy the certificate from the MFi authentication coprocessor. OSStatus APSMFiPlatform_CopyCertificate( uint8_t **outCertificatePtr, size_t *outCertificateLen ); ParametersReturn ValuekNoErr if successful or an error code indicating failure. DiscussionMFi accessory implementors must provide this function. APSMFiPlatform_CreateSignatureCreate an RSA signature from the specified SHA-1 digest using the MFi authentication coprocessor. OSStatus APSMFiPlatform_CreateSignature( const void *inDigestPtr, size_t inDigestLen, uint8_t **outSignaturePtr, size_t *outSignatureLen ); ParametersDiscussionMFi accessory implementors must provide this function. APSMFiPlatform_FinalizePerforms any platform-specific cleanup needed. void APSMFiPlatform_Finalize( void ); DiscussionMFi accessory implementors must provide this function. APSMFiPlatform_InitializePerforms any platform-specific initialization needed. OSStatus APSMFiPlatform_Initialize( void ); Return ValuekNoErr if successful or an error code indicating failure. DiscussionMFi accessory implementors must provide this function. |