CMSDecoderCopySignerTimestampWithPolicy(_:_:_:_:)
Returns the timestamp of a signer of a CMS message using a given policy, if present.
Declaration
func CMSDecoderCopySignerTimestampWithPolicy(_ cmsDecoder: CMSDecoder, _ timeStampPolicy: CFTypeRef?, _ signerIndex: Int, _ timestamp: UnsafeMutablePointer<CFAbsoluteTime>) -> OSStatusParameters
- cmsDecoder:
A CMSDecoder reference returned by the Cmsdecodercreate(_:) function.
- timeStampPolicy:
A timestamp policy. Specify
NULL(or use the Cmsdecodercopysignertimestamp(_:_:_:) function instead) to get the default, which is a policy using Ksecpolicyappletimestamping. See Policies in Certificate Key And Trust Services for more about policies. - signerIndex:
A number indicating which signer to examine. Signer index numbers start with 0. Use the Cmsdecodergetnumsigners(_:_:) function to determine the total number of signers for a message.
- timestamp:
The address of an absolute time value where the result should be stored.
Return Value
A result code. See Security Framework Result Codes.