Creates a code requirement object from the binary form of a code requirement.
- macOS 10.6+
A binary blob created earlier from a valid code requirement object by calling the
Requirement Copy Data
On return, contains a code requirement object that behaves identically to the one from which the data blob was obtained.
A result code. See Code Signing Services Result Codes.
You can use the
Sec function to convert a code requirement object to a binary blob, and store the blob in any form you wish. When you are ready to use the code requirement in another function call, you can use the
Sec function to convert it back to a code requirement object.