2 * Copyright (c) 2005-2009,2011-2016 Apple Inc. All Rights Reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
21 * @APPLE_LICENSE_HEADER_END@
26 * oids.h - declaration of OID consts
30 #ifndef _LIB_DER_OIDSPRIV_H_
31 #define _LIB_DER_OIDSPRIV_H_
33 #include <libDER/oids.h>
40 oidAppleSecureBootCertSpec
,
41 oidAppleSecureBootTicketCertSpec
,
42 oidAppleImg4ManifestCertSpec
,
43 oidAppleProvisioningProfile
,
44 oidAppleApplicationSigning
,
45 oidAppleTVOSApplicationSigningProd
,
46 oidAppleTVOSApplicationSigningProdQA
,
47 oidAppleInstallerPackagingSigningExternal
,
48 oidAppleExtendedKeyUsageCodeSigning
,
49 oidAppleExtendedKeyUsageCodeSigningDev
,
50 oidAppleExtendedKeyUsageAppleID
,
51 oidAppleExtendedKeyUsagePassbook
,
52 oidAppleExtendedKeyUsageProfileSigning
,
53 oidAppleExtendedKeyUsageQAProfileSigning
,
54 oidAppleIntmMarkerAppleWWDR
,
55 oidAppleIntmMarkerAppleID
,
56 oidAppleIntmMarkerAppleID2
,
57 oidApplePushServiceClient
,
58 oidApplePolicyMobileStore
,
59 oidApplePolicyMobileStoreProdQA
,
60 oidApplePolicyEscrowService
,
61 oidAppleCertExtensionAppleIDRecordValidationSigning
,
62 oidAppleCertExtOSXProvisioningProfileSigning
,
63 oidAppleIntmMarkerAppleSystemIntg2
,
64 oidAppleIntmMarkerAppleSystemIntgG3
,
65 oidAppleCertExtAppleSMPEncryption
,
66 oidAppleCertExtAppleServerAuthentication
,
67 oidAppleCertExtAppleServerAuthenticationIDSProdQA
,
68 oidAppleCertExtAppleServerAuthenticationIDSProd
,
69 oidAppleCertExtAppleServerAuthenticationAPNProdQA
,
70 oidAppleCertExtAppleServerAuthenticationAPNProd
,
71 oidAppleCertExtAppleServerAuthenticationGS
,
72 oidAppleCertExtAppleServerAuthenticationPPQProdQA
,
73 oidAppleCertExtAppleServerAuthenticationPPQProd
,
74 oidAppleIntmMarkerAppleServerAuthentication
,
75 oidAppleCertExtApplePPQSigningProd
,
76 oidAppleCertExtApplePPQSigningProdQA
,
77 oidAppleCertExtATVAppSigningProd
,
78 oidAppleCertExtATVAppSigningProdQA
,
79 oidAppleCertExtATVVPNProfileSigning
,
80 oidAppleCertExtCryptoServicesExtEncryption
,
81 oidAppleCertExtAST2DiagnosticsServerAuthProdQA
,
82 oidAppleCertExtAST2DiagnosticsServerAuthProd
,
83 oidAppleCertExtEscrowProxyServerAuthProdQA
,
84 oidAppleCertExtEscrowProxyServerAuthProd
,
85 oidAppleCertExtFMiPServerAuthProdQA
,
86 oidAppleCertExtFMiPServerAuthProd
,
87 oidAppleCertExtHomeKitServerAuth
,
88 oidAppleIntmMarkerAppleHomeKitServerCA
,
89 oidAppleCertExtAppleServerAuthenticationMMCSProdQA
,
90 oidAppleCertExtAppleServerAuthenticationMMCSProd
,
91 oidAppleCertExtAppleServerAuthenticationiCloudSetupProdQA
,
92 oidAppleCertExtAppleServerAuthenticationiCloudSetupProd
;
94 /* Compare two decoded OIDs. Returns true iff they are equivalent. */
95 bool DEROidCompare(const DERItem
*oid1
, const DERItem
*oid2
);
99 #endif /* _LIB_DER_UTILS_H_ */