OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2000-2004 Apple Computer, Inc. All Rights Reserved. | 2 * Copyright (c) 2000-2004 Apple Computer, Inc. All Rights Reserved. |
3 * | 3 * |
4 * @APPLE_LICENSE_HEADER_START@ | 4 * @APPLE_LICENSE_HEADER_START@ |
5 * | 5 * |
6 * This file contains Original Code and/or Modifications of Original Code | 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 | 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 | 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 | 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 | 10 * http://www.opensource.apple.com/apsl/ and read it before using this |
11 * file. | 11 * file. |
12 * | 12 * |
13 * The Original Code and all software distributed under the License are | 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 | 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER |
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, |
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
18 * Please see the License for the specific language governing rights and | 18 * Please see the License for the specific language governing rights and |
19 * limitations under the License. | 19 * limitations under the License. |
20 * | 20 * |
21 * @APPLE_LICENSE_HEADER_END@ | 21 * @APPLE_LICENSE_HEADER_END@ |
22 * | 22 * |
23 * cssmapplePriv.h -- Private CSSM features specific to Apple's Implementation | 23 * cssmapplePriv.h -- Private CSSM features specific to Apple's Implementation |
24 */ | 24 */ |
25 | |
26 /* Though this is a private header, it is the recommended means by Apple for | |
27 * configuring OCSP options, as the required structures that are documented | |
28 * as part of their public API, at: | |
29 * http://developer.apple.com/documentation/Security/Reference/SecAppleTrustPoli
cyModuleSpec/Apple_Trust_Policy_Module_Functional_Specification.pdf | |
30 * See also http://lists.apple.com/archives/apple-cdsa/2008/Aug/msg00008.html | |
31 */ | |
32 | 25 |
33 #ifndef _CSSMAPPLE_PRIV_H_ | 26 #ifndef _CSSMAPPLE_PRIV_H_ |
34 #define _CSSMAPPLE_PRIV_H_ 1 | 27 #define _CSSMAPPLE_PRIV_H_ 1 |
35 | 28 |
36 #include <Security/cssmtype.h> | 29 #include <Security/cssmtype.h> |
37 #include <Security/cssmapple.h> | 30 #include <Security/cssmapple.h> |
38 | 31 |
39 #ifdef __cplusplus | 32 #ifdef __cplusplus |
40 extern "C" { | 33 extern "C" { |
41 #endif | 34 #endif |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 CSSM_APPLE_TP_OCSP_OPT_FLAGS Flags; | 68 CSSM_APPLE_TP_OCSP_OPT_FLAGS Flags; |
76 CSSM_DATA_PTR LocalResponder;
/* URI */ | 69 CSSM_DATA_PTR LocalResponder;
/* URI */ |
77 CSSM_DATA_PTR LocalResponderCert;
/* X509 DER encoded cert */ | 70 CSSM_DATA_PTR LocalResponderCert;
/* X509 DER encoded cert */ |
78 } CSSM_APPLE_TP_OCSP_OPTIONS; | 71 } CSSM_APPLE_TP_OCSP_OPTIONS; |
79 | 72 |
80 #ifdef __cplusplus | 73 #ifdef __cplusplus |
81 } | 74 } |
82 #endif | 75 #endif |
83 | 76 |
84 #endif /* _CSSMAPPLE_PRIV_H_ */ | 77 #endif /* _CSSMAPPLE_PRIV_H_ */ |
OLD | NEW |