Iterates over all credentials with a user context.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
A pointer to the secondary status result that provides additional information in case of failure.
No flags are currently defined. Pass 0 for this parameter.
The mechanism type of credentials to iterate over. Pass in GSS_C_NO_OID_SET to iterate over all credentials.
A user context that you use to keep track of callbacks.
A block that is called once for each credential. The block receives the user context that you specified with the
userctxparameter, the credential's mechanism, and a copy of the credential as input on each iteration. Free the copy's memory with a call to
gsswhen you are done with it. The block is called one final time with a
_release _cred(_: _:)
NULLcredential upon reaching the end of the list.
gss function if you don’t need the user context parameter.