]> git.saurik.com Git - apple/security.git/blob - AppleX509CL/Session_CRL.cpp
Security-54.tar.gz
[apple/security.git] / AppleX509CL / Session_CRL.cpp
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 // Apple X.509 CRL-related session functions.
21 //
22
23 #include "AppleX509CLSession.h"
24
25 void
26 AppleX509CLSession::CrlDescribeFormat(
27 uint32 &NumberOfFields,
28 CSSM_OID_PTR &OidList)
29 {
30 unimplemented();
31 }
32
33
34 void
35 AppleX509CLSession::CrlGetAllFields(
36 const CssmData &Crl,
37 uint32 &NumberOfCrlFields,
38 CSSM_FIELD_PTR &CrlFields)
39 {
40 unimplemented();
41 }
42
43
44 CSSM_HANDLE
45 AppleX509CLSession::CrlGetFirstFieldValue(
46 const CssmData &Crl,
47 const CssmData &CrlField,
48 uint32 &NumberOfMatchedFields,
49 CSSM_DATA_PTR &Value)
50 {
51 unimplemented();
52 return CSSM_INVALID_HANDLE;
53 }
54
55
56 bool
57 AppleX509CLSession::CrlGetNextFieldValue(
58 CSSM_HANDLE ResultsHandle,
59 CSSM_DATA_PTR &Value)
60 {
61 unimplemented();
62 return false;
63 }
64
65
66 void
67 AppleX509CLSession::IsCertInCrl(
68 const CssmData &Cert,
69 const CssmData &Crl,
70 CSSM_BOOL &CertFound)
71 {
72 unimplemented();
73 }
74
75
76
77 #if __MWERKS__
78 #pragma mark Cached
79 #endif
80
81 void
82 AppleX509CLSession::CrlCache(
83 const CssmData &Crl,
84 CSSM_HANDLE &CrlHandle)
85 {
86 unimplemented();
87 }
88
89
90 CSSM_HANDLE
91 AppleX509CLSession::CrlGetFirstCachedFieldValue(
92 CSSM_HANDLE CrlHandle,
93 const CssmData *CrlRecordIndex,
94 const CssmData &CrlField,
95 uint32 &NumberOfMatchedFields,
96 CSSM_DATA_PTR &Value)
97 {
98 unimplemented();
99 return CSSM_INVALID_HANDLE;
100 }
101
102
103 bool
104 AppleX509CLSession::CrlGetNextCachedFieldValue(
105 CSSM_HANDLE ResultsHandle,
106 CSSM_DATA_PTR &Value)
107 {
108 unimplemented();
109 return false;
110 }
111
112
113 void
114 AppleX509CLSession::IsCertInCachedCrl(
115 const CssmData &Cert,
116 CSSM_HANDLE CrlHandle,
117 CSSM_BOOL &CertFound,
118 CssmData &CrlRecordIndex)
119 {
120 unimplemented();
121 }
122
123
124 void
125 AppleX509CLSession::CrlAbortCache(
126 CSSM_HANDLE CrlHandle)
127 {
128 unimplemented();
129 }
130
131
132 void
133 AppleX509CLSession::CrlAbortQuery(
134 CSSM_HANDLE ResultsHandle)
135 {
136 unimplemented();
137 }
138
139
140
141 #if __MWERKS__
142 #pragma mark Template
143 #endif
144
145 void
146 AppleX509CLSession::CrlCreateTemplate(
147 uint32 NumberOfFields,
148 const CSSM_FIELD *CrlTemplate,
149 CssmData &NewCrl)
150 {
151 unimplemented();
152 }
153
154
155 void
156 AppleX509CLSession::CrlSetFields(
157 uint32 NumberOfFields,
158 const CSSM_FIELD *CrlTemplate,
159 const CssmData &OldCrl,
160 CssmData &ModifiedCrl)
161 {
162 unimplemented();
163 }
164
165
166 void
167 AppleX509CLSession::CrlAddCert(
168 CSSM_CC_HANDLE CCHandle,
169 const CssmData &Cert,
170 uint32 NumberOfFields,
171 const CSSM_FIELD CrlEntryFields[],
172 const CssmData &OldCrl,
173 CssmData &NewCrl)
174 {
175 unimplemented();
176 }
177
178
179 void
180 AppleX509CLSession::CrlRemoveCert(
181 const CssmData &Cert,
182 const CssmData &OldCrl,
183 CssmData &NewCrl)
184 {
185 unimplemented();
186 }
187
188
189 void
190 AppleX509CLSession::CrlGetAllCachedRecordFields(
191 CSSM_HANDLE CrlHandle,
192 const CssmData &CrlRecordIndex,
193 uint32 &NumberOfFields,
194 CSSM_FIELD_PTR &CrlFields)
195 {
196 unimplemented();
197 }
198
199 void
200 AppleX509CLSession::CrlVerifyWithKey(
201 CSSM_CC_HANDLE CCHandle,
202 const CssmData &CrlToBeVerified)
203 {
204 unimplemented();
205 }
206
207
208 void
209 AppleX509CLSession::CrlVerify(
210 CSSM_CC_HANDLE CCHandle,
211 const CssmData &CrlToBeVerified,
212 const CssmData &SignerCert,
213 const CSSM_FIELD *VerifyScope,
214 uint32 ScopeSize)
215 {
216 unimplemented();
217 }
218
219 void
220 AppleX509CLSession::CrlSign(
221 CSSM_CC_HANDLE CCHandle,
222 const CssmData &UnsignedCrl,
223 const CSSM_FIELD *SignScope,
224 uint32 ScopeSize,
225 CssmData &SignedCrl)
226 {
227 unimplemented();
228 }
229
230
231
232