Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Security.framework is most certainly implemented — see the <a href="http://developer.apple.com/mac/library/documentation/Security/Reference/SecurityRefUpdate/" rel="nofollow noreferrer">Security Reference Update</a> which documents what has changed in the framework in 10.6 and prior. Since you know the headers to use, I assume you've already consulted the <a href="http://developer.apple.com/mac/library/documentation/Security/Reference/SecurityFrameworkReference/" rel="nofollow noreferrer">Security Framework Reference</a>.</p> <p>Are you sure you're properly importing and linking against the framework? (It's in <code>/System/Library/Security.framework</code>, so you shouldn't have to specify the path.)</p> <p>Does the compiler issue warnings or errors stating that the symbols in SecImportExport.h are undefined? (If not, how do you know they're "declared but undefined"?)</p> <p>When you say that this fails on 10.6, have you tried it on an earlier version of the OS successfully?</p> <hr> <p><strong>EDIT</strong>: Okay, since you're using other parts of Security.framework successfully, and the APIs and constants you're trying to use are 10.6 only, it doesn't seem like a linking issue. What do your import look like? Are you sure you're importing <code>SecImportExport.h</code> properly? The constants are declared just above the <code>SecPKCS12Import()</code> function, so if you get warnings for the constants, you should get one for the function being undefined as well.</p> <hr> <p><strong>EDIT</strong>: I have confirmed with a member of the team at Apple that works on Security.framework that this functionality is not currently implemented. Please file a bug to gripe about this at <a href="http://bugreport.apple.com" rel="nofollow noreferrer">http://bugreport.apple.com</a> against component <code>Security (New Bugs)</code>, version <code>X</code>. Include the URL to this question in your report. Sorry there's not a better answer at the moment.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload