2 * Copyright (c) 2000-2001 Apple Computer, Inc. All Rights Reserved.
4 * The contents of this file constitute Original Code as defined in and are
5 * subject to the Apple Public Source License Version 1.2 (the 'License').
6 * You may not use this file except in compliance with the License. Please obtain
7 * a copy of the License at http://www.apple.com/publicsource and read it before
10 * This Original Code and all software distributed under the License are
11 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
12 * OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT
13 * LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
14 * PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the
15 * specific language governing rights and limitations under the License.
23 Contains: Object Identifiers for X509 Certificate Library
25 Copyright: (c) 1999 Apple Computer, Inc., all rights reserved.
29 #include <Security/oidscrl.h>
34 X509V2CRLSignedCrlStruct
[] = {INTEL_X509V2_CRL_R08
, 0},
35 X509V2CRLSignedCrlCStruct
[] = {INTEL_X509V2_CRL_R08
, 0, INTEL_X509_C_DATATYPE
},
36 X509V2CRLTbsCertListStruct
[] = {INTEL_X509V2_CRL_R08
, 1},
37 X509V2CRLTbsCertListCStruct
[] = {INTEL_X509V2_CRL_R08
, 1, INTEL_X509_C_DATATYPE
},
38 X509V2CRLVersion
[] = {INTEL_X509V2_CRL_R08
, 2},
39 X509V1CRLIssuerStruct
[] = {INTEL_X509V2_CRL_R08
, 3},
40 X509V1CRLIssuerNameCStruct
[] = {INTEL_X509V2_CRL_R08
, 3, INTEL_X509_C_DATATYPE
},
41 X509V1CRLIssuerNameLDAP
[] = {INTEL_X509V2_CRL_R08
, 3, INTEL_X509_LDAPSTRING_DATATYPE
},
42 X509V1CRLThisUpdate
[] = {INTEL_X509V2_CRL_R08
, 4},
43 X509V1CRLNextUpdate
[] = {INTEL_X509V2_CRL_R08
, 5},
45 /* CRL Entry (CRL CertList) OIDS */
46 X509V1CRLRevokedCertificatesStruct
[] = {INTEL_X509V2_CRL_R08
, 7},
47 X509V1CRLRevokedCertificatesCStruct
[] = {INTEL_X509V2_CRL_R08
, 7, INTEL_X509_C_DATATYPE
},
48 X509V1CRLNumberOfRevokedCertEntries
[] = {INTEL_X509V2_CRL_R08
, 6},
49 X509V1CRLRevokedEntryStruct
[] = {INTEL_X509V2_CRL_R08
, 15},
50 X509V1CRLRevokedEntryCStruct
[] = {INTEL_X509V2_CRL_R08
, 15, INTEL_X509_C_DATATYPE
},
51 X509V1CRLRevokedEntrySerialNumber
[] = {INTEL_X509V2_CRL_R08
, 16},
52 X509V1CRLRevokedEntryRevocationDate
[] = {INTEL_X509V2_CRL_R08
, 17},
54 /* CRL Entry (CRL CertList) Extension OIDs */
55 X509V2CRLRevokedEntryAllExtensionsStruct
[] = {INTEL_X509V2_CRL_R08
, 18},
56 X509V2CRLRevokedEntryAllExtensionsCStruct
[] = {INTEL_X509V2_CRL_R08
, 18, INTEL_X509_C_DATATYPE
},
57 X509V2CRLRevokedEntryNumberOfExtensions
[] = {INTEL_X509V2_CRL_R08
, 20},
58 X509V2CRLRevokedEntrySingleExtensionStruct
[] = {INTEL_X509V2_CRL_R08
, 19},
59 X509V2CRLRevokedEntrySingleExtensionCStruct
[] = {INTEL_X509V2_CRL_R08
, 19, INTEL_X509_C_DATATYPE
},
60 X509V2CRLRevokedEntryExtensionId
[] = {INTEL_X509V2_CRL_R08
, 21},
61 X509V2CRLRevokedEntryExtensionCritical
[] = {INTEL_X509V2_CRL_R08
, 22},
62 X509V2CRLRevokedEntryExtensionType
[] = {INTEL_X509V2_CRL_R08
, 23},
63 X509V2CRLRevokedEntryExtensionValue
[] = {INTEL_X509V2_CRL_R08
, 24},
65 /* CRL Extension OIDs */
66 X509V2CRLAllExtensionsStruct
[] = {INTEL_X509V2_CRL_R08
, 8},
67 X509V2CRLAllExtensionsCStruct
[] = {INTEL_X509V2_CRL_R08
, 8, INTEL_X509_C_DATATYPE
},
68 X509V2CRLNumberOfExtensions
[] = {INTEL_X509V2_CRL_R08
, 10},
69 X509V2CRLSingleExtensionStruct
[] = {INTEL_X509V2_CRL_R08
, 9},
70 X509V2CRLSingleExtensionCStruct
[] = {INTEL_X509V2_CRL_R08
, 9, INTEL_X509_C_DATATYPE
},
71 X509V2CRLExtensionId
[] = {INTEL_X509V2_CRL_R08
, 11},
72 X509V2CRLExtensionCritical
[] = {INTEL_X509V2_CRL_R08
, 12},
73 X509V2CRLExtensionType
[] = {INTEL_X509V2_CRL_R08
, 13};
78 CSSMOID_X509V2CRLSignedCrlStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLSignedCrlStruct
},
79 CSSMOID_X509V2CRLSignedCrlCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V2CRLSignedCrlCStruct
},
80 CSSMOID_X509V2CRLTbsCertListStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLTbsCertListStruct
},
81 CSSMOID_X509V2CRLTbsCertListCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V2CRLTbsCertListCStruct
},
82 CSSMOID_X509V2CRLVersion
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLVersion
},
83 CSSMOID_X509V1CRLIssuerStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLIssuerStruct
},
84 CSSMOID_X509V1CRLIssuerNameCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V1CRLIssuerNameCStruct
},
85 CSSMOID_X509V1CRLIssuerNameLDAP
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V1CRLIssuerNameLDAP
},
86 CSSMOID_X509V1CRLThisUpdate
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLThisUpdate
},
87 CSSMOID_X509V1CRLNextUpdate
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLNextUpdate
},
89 /* CRL Entry (CRL CertList) OIDS */
90 CSSMOID_X509V1CRLRevokedCertificatesStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLRevokedCertificatesStruct
},
91 CSSMOID_X509V1CRLRevokedCertificatesCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V1CRLRevokedCertificatesCStruct
},
92 CSSMOID_X509V1CRLNumberOfRevokedCertEntries
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLNumberOfRevokedCertEntries
},
93 CSSMOID_X509V1CRLRevokedEntryStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLRevokedEntryStruct
},
94 CSSMOID_X509V1CRLRevokedEntryCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V1CRLRevokedEntryCStruct
},
95 CSSMOID_X509V1CRLRevokedEntrySerialNumber
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLRevokedEntrySerialNumber
},
96 CSSMOID_X509V1CRLRevokedEntryRevocationDate
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V1CRLRevokedEntryRevocationDate
},
98 /* CRL Entry (CRL CertList) Extension OIDs */
99 CSSMOID_X509V2CRLRevokedEntryAllExtensionsStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLRevokedEntryAllExtensionsStruct
},
100 CSSMOID_X509V2CRLRevokedEntryAllExtensionsCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V2CRLRevokedEntryAllExtensionsCStruct
},
101 CSSMOID_X509V2CRLRevokedEntryNumberOfExtensions
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLRevokedEntryNumberOfExtensions
},
102 CSSMOID_X509V2CRLRevokedEntrySingleExtensionStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLRevokedEntrySingleExtensionStruct
},
103 CSSMOID_X509V2CRLRevokedEntrySingleExtensionCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V2CRLRevokedEntrySingleExtensionCStruct
},
104 CSSMOID_X509V2CRLRevokedEntryExtensionId
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLRevokedEntryExtensionId
},
105 CSSMOID_X509V2CRLRevokedEntryExtensionCritical
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLRevokedEntryExtensionCritical
},
106 CSSMOID_X509V2CRLRevokedEntryExtensionType
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLRevokedEntryExtensionType
},
107 CSSMOID_X509V2CRLRevokedEntryExtensionValue
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLRevokedEntryExtensionValue
},
109 /* CRL Extension OIDs */
110 CSSMOID_X509V2CRLAllExtensionsStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLAllExtensionsStruct
},
111 CSSMOID_X509V2CRLAllExtensionsCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V2CRLAllExtensionsCStruct
},
112 CSSMOID_X509V2CRLNumberOfExtensions
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLNumberOfExtensions
},
113 CSSMOID_X509V2CRLSingleExtensionStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLSingleExtensionStruct
},
114 CSSMOID_X509V2CRLSingleExtensionCStruct
= {INTEL_X509V2_CRL_R08_LENGTH
+2, (uint8
*)X509V2CRLSingleExtensionCStruct
},
115 CSSMOID_X509V2CRLExtensionId
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLExtensionId
},
116 CSSMOID_X509V2CRLExtensionCritical
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLExtensionCritical
},
117 CSSMOID_X509V2CRLExtensionType
= {INTEL_X509V2_CRL_R08_LENGTH
+1, (uint8
*)X509V2CRLExtensionType
};