]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_keychain/libDER/libDER/oidsPriv.h
Security-58286.31.2.tar.gz
[apple/security.git] / OSX / libsecurity_keychain / libDER / libDER / oidsPriv.h
1 /*
2 * Copyright (c) 2005-2009,2011-2016 Apple Inc. All Rights Reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
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
11 * file.
12 *
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.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23
24
25 /*
26 * oids.h - declaration of OID consts
27 *
28 */
29
30 #ifndef _LIB_DER_OIDSPRIV_H_
31 #define _LIB_DER_OIDSPRIV_H_
32
33 #include <libDER/oids.h>
34 #include <stdbool.h>
35
36 __BEGIN_DECLS
37
38 /* Apple Oids */
39 extern const DERItem
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;
93
94 /* Compare two decoded OIDs. Returns true iff they are equivalent. */
95 bool DEROidCompare(const DERItem *oid1, const DERItem *oid2);
96
97 __END_DECLS
98
99 #endif /* _LIB_DER_UTILS_H_ */