Converts a code requirement object into text form.
- macOS 10.6+
A valid code requirement object.
On return, a text representation of the code requirement.
A result code. See Code Signing Services Result Codes.
If you use the
Sec function to create a code requirement object from a text string and later use the
Sec function to convert the object back to a string, the reconstituted text may differ in formatting, contain different source comments, and perform its validation functions in different order from the original. However, it is guaranteed that that the reconstituted text is functionally identical to the original. That is, recompiling the text using
Sec will produce a code requirement object that behaves identically to the first one you created.