2 # Test Code Signing and Package Signing policies.
3 # This used to be called the Code Signing POlicy; it was renamed on 8/15/06.
7 crlNetFetchEnable = false
8 certNetFetchEnable = false
9 useSystemAnchors = false
12 ### policy = CSSMOID_APPLE_TP_CODE_SIGNING ###
14 test = "Apple Code Signing success"
15 cert = CodeSignLeaf.cer
16 root = CodeSignRoot.cer
20 test = "Apple Code Signing, no EKU, expect fail"
22 root = CodeSignRoot.cer
24 error = CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE
27 test = "Apple Code Signing, wrong EKU, expect fail"
28 cert = BadCodeSignLeaf.cer
29 root = CodeSignRoot.cer
31 error = CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE
34 ### policy = CSSMOID_APPLE_TP_PACKAGE_SIGNING ###
36 test = "Package Signing success"
37 cert = CodeSignLeaf.cer
38 root = CodeSignRoot.cer
42 test = "Package Signing, no EKU, expect fail"
44 root = CodeSignRoot.cer
46 error = CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE
49 test = "Package Signing, wrong EKU, expect fail"
50 cert = BadCodeSignLeaf.cer
51 root = CodeSignRoot.cer
53 error = CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE