2 * Copyright (c) 2005-2009,2011-2015 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>
42 oidAppleSecureBootCertSpec
,
43 oidAppleProvisioningProfile
,
44 oidAppleApplicationSigning
,
45 oidAppleTVOSApplicationSigningProd
,
46 oidAppleTVOSApplicationSigningTest
,
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 oidApplePolicyTestMobileStore
,
60 oidApplePolicyEscrowService
,
61 oidAppleCertExtensionAppleIDRecordValidationSigning
,
62 oidAppleCertExtOSXProvisioningProfileSigning
,
63 oidAppleIntmMarkerAppleSystemIntg2
,
64 oidAppleIntmMarkerAppleSystemIntgG3
,
65 oidAppleCertExtAppleSMPEncryption
,
66 oidAppleCertExtAppleServerAuthentication
,
67 oidAppleCertExtAppleServerAuthenticationIDSTest
,
68 oidAppleCertExtAppleServerAuthenticationIDSProd
,
69 oidAppleCertExtAppleServerAuthenticationAPNTest
,
70 oidAppleCertExtAppleServerAuthenticationAPNProd
,
71 oidAppleCertExtAppleServerAuthenticationGS
,
72 oidAppleCertExtAppleServerAuthenticationPPQTest
,
73 oidAppleCertExtAppleServerAuthenticationPPQProd
,
74 oidAppleIntmMarkerAppleServerAuthentication
,
75 oidAppleCertExtApplePPQSigningProd
,
76 oidAppleCertExtApplePPQSigningTest
,
77 oidAppleCertExtATVAppSigningProd
,
78 oidAppleCertExtATVAppSigningTest
,
79 oidAppleCertExtCryptoServicesExtEncryption
;
81 /* Compare two decoded OIDs. Returns true iff they are equivalent. */
82 bool DEROidCompare(const DERItem
*oid1
, const DERItem
*oid2
);
88 #endif /* _LIB_DER_UTILS_H_ */