]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_keychain/libDER/libDER/oidsPriv.h
010b68128804bfd850d24730a4d98f9d0028bb11
[apple/security.git] / OSX / libsecurity_keychain / libDER / libDER / oidsPriv.h
1 /*
2 * Copyright (c) 2005-2009,2011-2015 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 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 /* Apple Oids */
41 extern const DERItem
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;
80
81 /* Compare two decoded OIDs. Returns true iff they are equivalent. */
82 bool DEROidCompare(const DERItem *oid1, const DERItem *oid2);
83
84 #ifdef __cplusplus
85 }
86 #endif
87
88 #endif /* _LIB_DER_UTILS_H_ */