Contents

kSecCodeInfoTime

A key whose value is the signing date embedded in the code signature.

Declaration

let kSecCodeInfoTime: CFString

Discussion

The value is a CFDate object. Note that a signer is able to omit this date or pre-date it. Therefore, this is not necessarily the date the code was actually signed. However, you do know that this is the date the signer wanted you to see. Ad-hoc signatures never have secured signing dates.

Specify the kSecCSSigningInformation flag when calling the SecCodeCopySigningInformation(_:_:_:) function to get this information.