Determines whether a CMS message was encrypted.
- macOS 10.5+
The CMSDecoder reference returned by the
TRUEif the message was encrypted.
A result code. See Security Framework Result Codes.
Note that if the message was encrypted and the decoding succeeded (
no), then the message was successfully decrypted. Call
CMSDecoder to retrieve the decrypted content.
You cannot call this function until after you have called the