CMSEncoderGetCertificateChainMode(_:_:)
Obtains a constant that indicates which certificates are to be included in a signed CMS message.
Declaration
func CMSEncoderGetCertificateChainMode(_ cmsEncoder: CMSEncoder, _ chainModeOut: UnsafeMutablePointer<CMSCertificateChainMode>) -> OSStatusParameters
- cmsEncoder:
The CMSEncoder reference returned by the
CMSEncoderCreatefunction. - chainModeOut:
On return, a constant that indicates which certificate or certificates are to be included in the message. See Cmscertificatechainmode.
Return Value
A result code. See Security Framework Result Codes.