Returns the original version of a secure message by optionally decrypting it and then extracting and verifying the attached MIC.
- iOS 5.0–7.0Deprecated
- macOS 10.7–10.9Deprecated
- Mac Catalyst 13.0–13.0Deprecated
A pointer to the secondary status result that provides additional information in case of failure.
The context used to send the message.
A buffer containing the protected message from the peer.
A buffer the function uses to return the unwrapped message. Release the buffer using a call to
gsswhen you are done with it.
A pointer the function uses to indicate what protection had been applied to the message. A value of zero indicates only integrity checking. A non-zero value indicates both integrity checking and confidentiality. Pass
NULLto ignore this output.
A pointer the function uses to return the quality of protection setting. See Quality of Protection Constants for valid values. Pass NULL to ignore this output.