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