]> git.saurik.com Git - apple/security.git/blob - OSX/sec/Security/SecPolicy.list
Security-58286.51.6.tar.gz
[apple/security.git] / OSX / sec / Security / SecPolicy.list
1 // Copyright (c) 2017 Apple Inc. All Rights Reserved.
2 // This is the list of Policies. To add a new policy put it in this file with the POLICYMACRO defined.
3 // Arguments for the POLICYMACRO in arg order are:
4 // POLICYMACRO(NAME, OID, ISPUBLIC, INTNAME, IN_NAME, IN_PROPERTIES, FUNCTION)
5 // NAME: the constant name. Will be kSecPolicyApple##NAME for the exported OID and kSecPolicyName##NAME for the private name
6 // OID: element of policy OID arc
7 // ISPUBLIC: P indicates that the kSecPolicyNameApple##NAME is exported,
8 // I indicates that the kSecPolicyName##NAME is exported
9 // INTNAME: The internal string value for kSecPolicyName##NAME
10 // IN_NAME: N indicates that the corresponding function takes a name parameter
11 // IN_PROPERTIES: Y indicates that the constant uses a macro for SecPolicyCreateWithProperties
12 // FUNCTION: SecPolicyCreate##FUNCTION is the function call for this policy; used in exports and macro for SecPolicyCreateWithProperties
13
14
15 POLICYMACRO(X509Basic, 2 , I, basicX509, , Y, BasicX509)
16 POLICYMACRO(SSL, 3 , , ssl, , , SSL)
17 POLICYMACRO(SMIME, 8 , I, SMIME, , , SMIME)
18 POLICYMACRO(EAP, 9 , , eap, , , EAP)
19 POLICYMACRO(SWUpdateSigning, 10, , AppleSWUpdateSigning, , Y, AppleSWUpdateSigning)
20 POLICYMACRO(IPsec, 11, , ipsec, , , IPSec)
21 POLICYMACRO(PKINITClient, 14, , pkinitClient, , , )
22 POLICYMACRO(PKINITServer, 15, , pkinitServer, , , )
23 POLICYMACRO(CodeSigning, 16, I, CodeSigning, , Y, CodeSigning)
24 POLICYMACRO(PackageSigning, 17, , PackageSigning, , Y, ApplePackageSigning)
25 POLICYMACRO(IDValidation, 18, , AppleIDAuthority, , Y, AppleIDAuthorityPolicy)
26 POLICYMACRO(MacAppStoreReceipt, 19, , MacAppStoreReceipt, , , MacAppStoreReceipt)
27 POLICYMACRO(TimeStamping, 20, I, AppleTimeStamping, , Y, AppleTimeStamping)
28 POLICYMACRO(Revocation, 21, , revocation, , , Revocation)
29 POLICYMACRO(PassbookSigning, 22, , ApplePassbook, , , PassbookCardSigner)
30 POLICYMACRO(MobileStore, 23, , AppleMobileStore, , Y, MobileStoreSigner)
31 POLICYMACRO(EscrowService, 24, , AppleEscrowService, , Y, EscrowServiceSigner)
32 POLICYMACRO(ProfileSigner, 25, , AppleProfileSigner, , Y, ConfigurationProfileSigner)
33 POLICYMACRO(QAProfileSigner, 26, , AppleQAProfileSigner, , Y, QAConfigurationProfileSigner)
34 POLICYMACRO(TestMobileStore, 27, , AppleTestMobileStore, , Y, TestMobileStoreSigner)
35 POLICYMACRO(OTAPKISigner, 28, , AppleOTAPKIAssetSigner, , Y, OTAPKISigner)
36 POLICYMACRO(TestOTAPKISigner, 29, , AppleTestOTAPKIAssetSigner, , Y, TestOTAPKISigner)
37 POLICYMACRO(IDValidationRecordSigning, 30, , AppleIDValidationRecordSigningPolicy, , Y, AppleIDValidationRecordSigningPolicy)
38 POLICYMACRO(SMPEncryption, 31, , AppleSMPEncryption, , Y, AppleSMPEncryption)
39 POLICYMACRO(TestSMPEncryption, 32, , AppleTestSMPEncryption, , Y, TestAppleSMPEncryption)
40 POLICYMACRO(ServerAuthentication, 33, , AppleSSLService, N, Y, AppleSSLService)
41 POLICYMACRO(PCSEscrowService, 34, , ApplePCSEscrowService, , Y, PCSEscrowServiceSigner)
42 POLICYMACRO(PPQSigning, 35, , ApplePPQSigning, , Y, ApplePPQSigning)
43 POLICYMACRO(TestPPQSigning, 36, , AppleTestPPQSigning, , Y, TestApplePPQSigning)
44 POLICYMACRO(PayIssuerEncryption, 39, , ApplePayIssuerEncryption, , Y, ApplePayIssuerEncryption)
45 POLICYMACRO(OSXProvisioningProfileSigning, 40, , AppleOSXProvisioningProfileSigning, , Y, OSXProvisioningProfileSigning)
46 POLICYMACRO(ATVVPNProfileSigning, 41, , AppleATVVPNProfileSigning, , Y, AppleATVVPNProfileSigning)
47 POLICYMACRO(AST2DiagnosticsServerAuth, 42, P, AST2, , , AppleAST2Service)
48 POLICYMACRO(EscrowProxyServerAuth, 43, P, Escrow, , , AppleEscrowProxyService)
49 POLICYMACRO(FMiPServerAuth, 44, P, FMiP, , , AppleFMiPService)
50 POLICYMACRO(MMCService, 45, P, MMCS, , , AppleMMCSService)
51 POLICYMACRO(GSService, 46, P, GS, , , AppleGSService)
52 POLICYMACRO(PPQService, 47, P, PPQ, , , ApplePPQService)
53 POLICYMACRO(HomeKitServerAuth, 48, P, HomeKit, N, Y, AppleHomeKitServerAuth)
54 POLICYMACRO(iPhoneActivation, 49, , iPhoneActivation, , Y, iPhoneActivation)
55 POLICYMACRO(iPhoneDeviceCertificate, 50, , iPhoneDeviceCertificate, , Y, iPhoneDeviceCertificate)
56 POLICYMACRO(FactoryDeviceCertificate, 51, , FactoryDeviceCertificate, , Y, FactoryDeviceCertificate)
57 POLICYMACRO(iAP, 52, , iAP, , Y, iAP)
58 POLICYMACRO(iTunesStoreURLBag, 53, , iTunesStoreURLBag, , Y, iTunesStoreURLBag)
59 POLICYMACRO(iPhoneApplicationSigning, 54, , iPhoneApplicationSigning, , Y, iPhoneApplicationSigning)
60 POLICYMACRO(iPhoneProfileApplicationSigning, 55, , iPhoneProfileApplicationSigning, , Y, iPhoneProfileApplicationSigning)
61 POLICYMACRO(iPhoneProvisioningProfileSigning, 56, , iPhoneProvisioningProfileSigning, , Y, iPhoneProvisioningProfileSigning)
62 POLICYMACRO(LockdownPairing, 57, , LockdownPairing, , Y, LockdownPairing)
63 POLICYMACRO(URLBag, 58, , URLBag, , Y, URLBag)
64 POLICYMACRO(OTATasking, 59, , OTATasking, , Y, OTATasking)
65 POLICYMACRO(MobileAsset, 60, , MobileAsset, , Y, MobileAsset)
66 POLICYMACRO(IDAuthority, 61, , AppleIDAuthority, , Y, AppleIDAuthorityPolicy)
67 POLICYMACRO(GenericApplePinned, 62, , Generic, , , ApplePinned)
68 POLICYMACRO(GenericAppleSSLPinned, 63, , GenericSSL, , , AppleSSLPinned)
69 POLICYMACRO(SoftwareSigning, 64, , SoftwareSigning, , Y, AppleSoftwareSigning)
70 POLICYMACRO(ExternalDeveloper, 65, , Developer, , Y, AppleExternalDeveloper)
71 POLICYMACRO(OCSPSigner, 66, I, OCSPSigner, , Y, OCSPSigner)
72 POLICYMACRO(IDSService, 67, P, IDS, N, Y, AppleIDSService)
73 POLICYMACRO(IDSServiceContext, 68, , IDS, , , AppleIDSServiceContext)
74 POLICYMACRO(PushService, 69, P, APN, , , ApplePushService)
75 POLICYMACRO(LegacyPushService, 70, , AppleLegacyPushService, N, Y, ApplePushServiceLegacy)
76 POLICYMACRO(TVOSApplicationSigning, 71, , AppleTVApplicationSigning, , Y, AppleTVOSApplicationSigning)
77 POLICYMACRO(UniqueDeviceIdentifierCertificate, 72, , UCRT, , , AppleUniqueDeviceCertificate)
78 POLICYMACRO(EscrowProxyCompatibilityServerAuth, 73, , Escrow, N, Y, AppleCompatibilityEscrowProxyService)
79 POLICYMACRO(MMCSCompatibilityServerAuth, 74, , MMCS, N, Y, AppleCompatibilityMMCSService)
80 POLICYMACRO(SecureIOStaticAsset, 75, , SecureIOStaticAsset, , Y, AppleSecureIOStaticAsset)
81 POLICYMACRO(Warsaw, 76, , Warsaw, , Y, AppleWarsaw)
82 POLICYMACRO(iCloudSetupServerAuth, 77, P, iCloudSetup, , , AppleiCloudSetupService)
83 POLICYMACRO(iCloudSetupCompatibilityServerAuth, 78, , iCloudSetup, N, Y, AppleCompatibilityiCloudSetupService)
84 POLICYMACRO(AppTransportSecurity, 80, , ATS, , Y, AppleAppTransportSecurity)
85 POLICYMACRO(MacOSProfileApplicationSigning, 81, , macOSProfileApplicationSigning, , Y, MacOSProfileApplicationSigning)
86 POLICYMACRO(MobileSoftwareUpdate, 82, , MobileSoftwareUpdate, , Y, MobileSoftwareUpdate)
87 POLICYMACRO(MobileAssetDevelopment, 83, , MobileAsset, , Y, MobileAssetDevelopment)
88 POLICYMACRO(BasicAttestationSystem, 84, , BAA-SCRT, , , AppleBasicAttestationSystem)
89 POLICYMACRO(BasicAttestationUser, 85, , BAA-UCRT, , , AppleBasicAttestationUser)
90 POLICYMACRO(iPhoneVPNApplicationSigning, 86, , iPhoneVPNApplicationSigning, , Y, iPhoneVPNApplicationSigning)
91 POLICYMACRO(DemoDigitalCatalog, 88, , DemoCatalog, , Y, DemoDigitalCatalogSigning)