]> git.saurik.com Git - apple/security.git/blob - cdsa/cdsa/oidscrl.h
74d57e298caed92662f56b271d185ce4c087374d
[apple/security.git] / cdsa / cdsa / oidscrl.h
1 /*
2 * Copyright (c) 2000-2001 Apple Computer, Inc. All Rights Reserved.
3 *
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
8 * using this file.
9 *
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.
16 */
17
18
19 /*
20 File: oidscrl.h
21
22 Contains: Object Identifiers for X509 CRLS
23
24 Copyright: (c) 1999-2000 Apple Computer, Inc., all rights reserved.
25 */
26
27 #ifndef _OIDSCRL_H_
28 #define _OIDSCRL_H_ 1
29
30 #include <Security/cssmconfig.h>
31 #include <Security/cssmtype.h>
32 #include <Security/oidsbase.h>
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 #define INTEL_X509V2_CRL_R08 INTEL_SEC_FORMATS, 2, 1
39 #define INTEL_X509V2_CRL_R08_LENGTH INTEL_SEC_FORMATS_LENGTH+2
40
41
42 extern const CSSM_OID
43 /* CRL OIDs */
44 CSSMOID_X509V2CRLSignedCrlStruct,
45 CSSMOID_X509V2CRLSignedCrlCStruct,
46 CSSMOID_X509V2CRLTbsCertListStruct,
47 CSSMOID_X509V2CRLTbsCertListCStruct,
48 CSSMOID_X509V2CRLVersion,
49 CSSMOID_X509V1CRLIssuerStruct,
50 CSSMOID_X509V1CRLIssuerNameCStruct,
51 CSSMOID_X509V1CRLIssuerNameLDAP,
52 CSSMOID_X509V1CRLThisUpdate,
53 CSSMOID_X509V1CRLNextUpdate,
54
55 /* CRL Entry (CRL CertList) OIDS */
56 CSSMOID_X509V1CRLRevokedCertificatesStruct,
57 CSSMOID_X509V1CRLRevokedCertificatesCStruct,
58 CSSMOID_X509V1CRLNumberOfRevokedCertEntries,
59 CSSMOID_X509V1CRLRevokedEntryStruct,
60 CSSMOID_X509V1CRLRevokedEntryCStruct,
61 CSSMOID_X509V1CRLRevokedEntrySerialNumber,
62 CSSMOID_X509V1CRLRevokedEntryRevocationDate,
63
64 /* CRL Entry (CRL CertList) Extension OIDs */
65 CSSMOID_X509V2CRLRevokedEntryAllExtensionsStruct,
66 CSSMOID_X509V2CRLRevokedEntryAllExtensionsCStruct,
67 CSSMOID_X509V2CRLRevokedEntryNumberOfExtensions,
68 CSSMOID_X509V2CRLRevokedEntrySingleExtensionStruct,
69 CSSMOID_X509V2CRLRevokedEntrySingleExtensionCStruct,
70 CSSMOID_X509V2CRLRevokedEntryExtensionId,
71 CSSMOID_X509V2CRLRevokedEntryExtensionCritical,
72 CSSMOID_X509V2CRLRevokedEntryExtensionType,
73 CSSMOID_X509V2CRLRevokedEntryExtensionValue,
74
75 /* CRL Extension OIDs */
76 CSSMOID_X509V2CRLAllExtensionsStruct,
77 CSSMOID_X509V2CRLAllExtensionsCStruct,
78 CSSMOID_X509V2CRLNumberOfExtensions,
79 CSSMOID_X509V2CRLSingleExtensionStruct,
80 CSSMOID_X509V2CRLSingleExtensionCStruct,
81 CSSMOID_X509V2CRLExtensionId,
82 CSSMOID_X509V2CRLExtensionCritical,
83 CSSMOID_X509V2CRLExtensionType;
84
85
86
87 #ifdef __cplusplus
88 }
89 #endif
90
91 #endif /* _OIDSCRL_H_ */