]> git.saurik.com Git - apple/security.git/blob - cdsa/cdsa/oidsalg.h
d226736612922b1563e3fddc98d413d21a432893
[apple/security.git] / cdsa / cdsa / oidsalg.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: oidsalg.h
21
22 Contains: OIDs defining crypto algorithms
23
24 Copyright: (c) 1999-2000 Apple Computer, Inc., all rights reserved.
25 */
26
27 #ifndef _OIDS_ALG_H_
28 #define _OIDS_ALG_H_
29
30 #include <Security/cssmtype.h>
31
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35
36 extern const CSSM_OID
37 CSSMOID_MD2,
38 CSSMOID_MD4,
39 CSSMOID_MD5,
40 CSSMOID_RSA,
41 CSSMOID_MD2WithRSA,
42 CSSMOID_MD4WithRSA,
43 CSSMOID_MD5WithRSA,
44 CSSMOID_SHA1WithRSA,
45 CSSMOID_SHA1WithRSA_OIW,
46 CSSMOID_ANSI_DH_PUB_NUMBER,
47 CSSMOID_ANSI_DH_STATIC,
48 CSSMOID_ANSI_DH_ONE_FLOW,
49 CSSMOID_ANSI_DH_EPHEM,
50 CSSMOID_ANSI_DH_HYBRID1,
51 CSSMOID_ANSI_DH_HYBRID2,
52 CSSMOID_ANSI_DH_HYBRID_ONEFLOW,
53 CSSMOID_ANSI_MQV1,
54 CSSMOID_ANSI_MQV2,
55 CSSMOID_ANSI_DH_STATIC_SHA1,
56 CSSMOID_ANSI_DH_ONE_FLOW_SHA1,
57 CSSMOID_ANSI_DH_EPHEM_SHA1,
58 CSSMOID_ANSI_DH_HYBRID1_SHA1,
59 CSSMOID_ANSI_DH_HYBRID2_SHA1,
60 CSSMOID_ANSI_MQV1_SHA1,
61 CSSMOID_ANSI_MQV2_SHA1,
62 CSSMOID_PKCS3,
63 CSSMOID_DH,
64 CSSMOID_DSA, // BSAFE only
65 CSSMOID_DSA_CMS, // X509/CMS
66 CSSMOID_DSA_JDK, // JDK 1.1
67 CSSMOID_SHA1WithDSA, // BSAFE
68 CSSMOID_SHA1WithDSA_CMS, // X509/CMS
69 CSSMOID_SHA1WithDSA_JDK, // JDK 1.1
70 CSSMOID_SHA1,
71 CSSMOID_APPLE_ISIGN,
72 CSSMOID_APPLE_X509_BASIC,
73 CSSMOID_APPLE_TP_SSL,
74 CSSMOID_APPLE_TP_LOCAL_CERT_GEN,
75 CSSMOID_APPLE_TP_CSR_GEN,
76 CSSMOID_APPLE_TP_REVOCATION_CRL,
77 CSSMOID_APPLE_TP_REVOCATION_OCSP,
78 CSSMOID_APPLE_TP_SMIME,
79 CSSMOID_APPLE_TP_EAP,
80 CSSMOID_APPLE_FEE,
81 CSSMOID_APPLE_ASC,
82 CSSMOID_APPLE_FEE_MD5,
83 CSSMOID_APPLE_FEE_SHA1,
84 CSSMOID_APPLE_FEED,
85 CSSMOID_APPLE_FEEDEXP,
86 CSSMOID_APPLE_ECDSA,
87 CSSMOID_PKCS12_pbeWithSHAAnd128BitRC4,
88 CSSMOID_PKCS12_pbeWithSHAAnd40BitRC4,
89 CSSMOID_PKCS12_pbeWithSHAAnd3Key3DESCBC,
90 CSSMOID_PKCS12_pbeWithSHAAnd2Key3DESCBC,
91 CSSMOID_PKCS12_pbeWithSHAAnd128BitRC2CBC,
92 CSSMOID_PKCS12_pbewithSHAAnd40BitRC2CBC;
93
94 #ifdef __cplusplus
95 }
96 #endif
97
98 #endif /* _OIDS_ALG_H_ */