pub unsafe extern "C-unwind" fn SecRequirementCreateWithString(
text: &CFString,
flags: SecCSFlags,
requirement: NonNull<*mut SecRequirement>,
) -> i32
Available on crate features
SecRequirement
and CSCommon
only.Expand description
Create a SecRequirement object by compiling a valid text representation of a requirement.
Parameter text
: A CFString containing the text form of a (single) Code Requirement.
Parameter flags
: Optional flags. Pass kSecCSDefaultFlags for standard behavior.
Parameter requirement
: On successful return, contains a reference to a SecRequirement
object that implements the conditions described in text.
Returns: Upon success, errSecSuccess. Upon error, an OSStatus value documented in CSCommon.h or certain other Security framework headers.