2 # Test Software Update Apple Code Signing cert verification policy.
3 # This used to be called the Code Signing POlicy; it was renamed on 8/15/06.
5 # The keychain CodeSignTest.keychain, in this directory, contains all the
6 # keys and certs used to generate these test cases. Password is CodeSignTest.
10 crlNetFetchEnable = false
11 certNetFetchEnable = false
12 useSystemAnchors = false
15 test = "Full Code Signing verification success"
22 test = "DEVELOPMENT detection"
27 error = APPLETP_CODE_SIGN_DEVELOPMENT
28 certerror = 0:APPLETP_CODE_SIGN_DEVELOPMENT
31 test = "No ExtendedKeyUsage in Leaf"
32 cert = csLeafNoEKU.cer
36 error = APPLETP_CS_NO_EXTENDED_KEY_USAGE
37 certerror = 0:APPLETP_CS_NO_EXTENDED_KEY_USAGE
40 test = "Bad ExtendedKeyUsage in Leaf"
41 cert = csLeafBadEKU.cer
45 error = APPLETP_INVALID_EXTENDED_KEY_USAGE
46 certerror = 0:APPLETP_INVALID_EXTENDED_KEY_USAGE
49 test = "No ExtendedKeyUsage in Intermediate"
50 cert = csLeafNoEKUinInt.cer
54 error = APPLETP_CS_NO_EXTENDED_KEY_USAGE
55 certerror = 1:APPLETP_CS_NO_EXTENDED_KEY_USAGE
58 test = "Bad ExtendedKeyUsage in Intermediate"
59 cert = csLeafBadEKUinInt.cer
63 error = APPLETP_INVALID_EXTENDED_KEY_USAGE
64 certerror = 1:APPLETP_INVALID_EXTENDED_KEY_USAGE
67 test = "No BC in Intermediate"
68 cert = csLeafNoBcInInt.cer
72 error = CSSMERR_APPLETP_CS_NO_BASIC_CONSTRAINTS
73 certerror = 1:CSSMERR_APPLETP_CS_NO_BASIC_CONSTRAINTS
77 cert = csLeafShortPath.cer
80 error = CSSMERR_APPLETP_CS_BAD_CERT_CHAIN_LENGTH