CMSDecoderCopyDetachedContent(_:_:)
Obtains the detached content specified with the CMSDecoderSetDetachedContent function.
Declaration
func CMSDecoderCopyDetachedContent(_ cmsDecoder: CMSDecoder, _ detachedContentOut: UnsafeMutablePointer<CFData?>) -> OSStatusParameters
- cmsDecoder:
The CMSDecoder reference returned by the
CMSDecoderCreatefunction. - detachedContentOut:
On return, points to the data reference specified by an earlier call to the
CMSDecoderSetDetachedContentfunction. Returns a NULL data reference if no detached content has been specified. You must use theCFReleasefunction to free this reference when you are finished using it.
Return Value
A result code. See Security Framework Result Codes.