{"id":13220,"date":"2016-01-07T10:55:35","date_gmt":"2016-01-07T15:55:35","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=13220"},"modified":"2016-01-07T11:00:57","modified_gmt":"2016-01-07T16:00:57","slug":"sectransformexecuteasync-considered-confusing","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/01\/07\/sectransformexecuteasync-considered-confusing\/","title":{"rendered":"SecTransformExecuteAsync Considered Confusing"},"content":{"rendered":"<p><a href=\"http:\/\/lapcatsoftware.com\/articles\/sectransformexecuteasync-considered-confusing.html\">Jeff Johnson<\/a>:<\/p>\n<blockquote cite=\"http:\/\/lapcatsoftware.com\/articles\/sectransformexecuteasync-considered-confusing.html\">\n<p>We have a group transform that first generates a digest from the message and then signs the message digest. Intuitively, you would think that the intermediate result would be the digest, and the final result would be the signature, right? Right?<\/p>\n<\/blockquote>\n<p>I don&rsquo;t know how it&rsquo;s intended to work, but my interpretation of the vague documentation is that you don&rsquo;t get results from the intermediate transforms. You get intermediate results for the final transform. This is the same result as with <code>SecTransformExecute<\/code>, only it&rsquo;s possibly split into chunks. <code>isFinal<\/code> means that you&rsquo;ve received the last chunk.<\/p>\n<p>The documentation in Dash says that the <code>SecTransform<\/code> functions aren&rsquo;t available in Swift, but that seems to be incorrect.<\/p>","protected":false},"excerpt":{"rendered":"<p>Jeff Johnson: We have a group transform that first generates a digest from the message and then signs the message digest. Intuitively, you would think that the intermediate result would be the digest, and the final result would be the signature, right? Right? I don&rsquo;t know how it&rsquo;s intended to work, but my interpretation of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[164,31,1137,30,1199,71],"class_list":["post-13220","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-documentation","tag-ios","tag-ios-9","tag-mac","tag-mac-os-x-10-11","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=13220"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13220\/revisions"}],"predecessor-version":[{"id":13223,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13220\/revisions\/13223"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=13220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=13220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=13220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}