Search code examples
iosmacosios5ios6

iOS Equivalent of SecTransformRef?


Is there an iOS equivalent to SecTransformRef from the Mac SecTransform.h header file? I am getting a Semantic issue where there is an unknown type name 'SecTransformRef'. It appears that the SecTransform.h file does not exist on the iOS side and I am trying to get the same functionality from the Mac side to the iOS version. The main objective at hand is client encryption and communication with Base64 encoding.


Solution

  • Security transforms are only available in OS X.

    If you want to make symetric encryption please take a look on doc page: https://developer.apple.com/library/mac/documentation/security/Conceptual/cryptoservices/GeneralPurposeCrypto/GeneralPurposeCrypto.html#//apple_ref/doc/uid/TP40011172-CH9-SW14

    and also

    https://developer.apple.com/library/mac/documentation/security/Conceptual/CertKeyTrustProgGuide/iPhone_Tasks/iPhone_Tasks.html#//apple_ref/doc/uid/TP40001358-CH208-SW9