]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_cssm/lib/cssmapi.h
Security-59754.41.1.tar.gz
[apple/security.git] / OSX / libsecurity_cssm / lib / cssmapi.h
1 /*
2 * Copyright (c) 1999-2001,2004,2011,2014 Apple Inc. All Rights Reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
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
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
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
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
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 *
23 * cssmapi.h -- Application Programmers Interfaces for CSSM
24 */
25
26 #ifndef _CSSMAPI_H_
27 #define _CSSMAPI_H_ 1
28
29 #include <Security/cssmtype.h>
30
31 /* ==========================================================================
32 W A R N I N G : CDSA has been deprecated starting with 10.7. While the
33 APIs will continue to work, developers should update their code to use
34 the APIs that are suggested and NOT use the CDSA APIs
35 ========================================================================== */
36
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40
41 /* Core Functions */
42
43 /* --------------------------------------------------------------------------
44 CSSM_Init has been deprecated in 10.7 and later. There is no alternate
45 API as this call is only needed when calling CDSA APIs
46 -------------------------------------------------------------------------- */
47 CSSM_RETURN CSSMAPI
48 CSSM_Init (const CSSM_VERSION *Version,
49 CSSM_PRIVILEGE_SCOPE Scope,
50 const CSSM_GUID *CallerGuid,
51 CSSM_KEY_HIERARCHY KeyHierarchy,
52 CSSM_PVC_MODE *PvcPolicy,
53 const void *Reserved)
54 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
55
56 /* --------------------------------------------------------------------------
57 CSSM_Terminate has been deprecated in 10.7 and later. There is no alternate
58 API as this call is only needed when calling CDSA APIs
59 -------------------------------------------------------------------------- */
60 CSSM_RETURN CSSMAPI
61 CSSM_Terminate (void)
62 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
63
64 /* --------------------------------------------------------------------------
65 CSSM_ModuleLoad has been deprecated in 10.7 and later. There is no
66 alternate API as this call is only needed when calling CDSA APIs
67 -------------------------------------------------------------------------- */
68 CSSM_RETURN CSSMAPI
69 CSSM_ModuleLoad (const CSSM_GUID *ModuleGuid,
70 CSSM_KEY_HIERARCHY KeyHierarchy,
71 CSSM_API_ModuleEventHandler AppNotifyCallback,
72 void *AppNotifyCallbackCtx)
73 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
74
75 /* --------------------------------------------------------------------------
76 CSSM_ModuleUnload has been deprecated in 10.7 and later. There is no
77 alternate API as this call is only needed when calling CDSA APIs
78 -------------------------------------------------------------------------- */
79 CSSM_RETURN CSSMAPI
80 CSSM_ModuleUnload (const CSSM_GUID *ModuleGuid,
81 CSSM_API_ModuleEventHandler AppNotifyCallback,
82 void *AppNotifyCallbackCtx)
83 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
84
85 /* --------------------------------------------------------------------------
86 CSSM_Introduce has been deprecated in 10.7 and later. There is no
87 alternate API as this call is only needed when calling CDSA APIs
88 -------------------------------------------------------------------------- */
89 CSSM_RETURN CSSMAPI
90 CSSM_Introduce (const CSSM_GUID *ModuleID,
91 CSSM_KEY_HIERARCHY KeyHierarchy)
92 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
93
94 /* --------------------------------------------------------------------------
95 CSSM_Unintroduce has been deprecated in 10.7 and later. There is no
96 alternate API as this call is only needed when calling CDSA APIs
97 -------------------------------------------------------------------------- */
98 CSSM_RETURN CSSMAPI
99 CSSM_Unintroduce (const CSSM_GUID *ModuleID)
100 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
101
102 /* --------------------------------------------------------------------------
103 CSSM_ModuleAttach has been deprecated in 10.7 and later. There is no
104 alternate API as this call is only needed when calling CDSA APIs
105 -------------------------------------------------------------------------- */
106 CSSM_RETURN CSSMAPI
107 CSSM_ModuleAttach (const CSSM_GUID *ModuleGuid,
108 const CSSM_VERSION *Version,
109 const CSSM_API_MEMORY_FUNCS *MemoryFuncs,
110 uint32 SubserviceID,
111 CSSM_SERVICE_TYPE SubServiceType,
112 CSSM_ATTACH_FLAGS AttachFlags,
113 CSSM_KEY_HIERARCHY KeyHierarchy,
114 CSSM_FUNC_NAME_ADDR *FunctionTable,
115 uint32 NumFunctionTable,
116 const void *Reserved,
117 CSSM_MODULE_HANDLE_PTR NewModuleHandle)
118 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
119
120 /* --------------------------------------------------------------------------
121 CSSM_ModuleDetach has been deprecated in 10.7 and later. There is no
122 alternate API as this call is only needed when calling CDSA APIs
123 -------------------------------------------------------------------------- */
124 CSSM_RETURN CSSMAPI
125 CSSM_ModuleDetach (CSSM_MODULE_HANDLE ModuleHandle)
126 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
127
128 /* --------------------------------------------------------------------------
129 CSSM_SetPrivilege has been deprecated in 10.7 and later. There is no alternate
130 API as this call is only needed when calling CDSA APIs
131 -------------------------------------------------------------------------- */
132 CSSM_RETURN CSSMAPI
133 CSSM_SetPrivilege (CSSM_PRIVILEGE Privilege)
134 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
135
136 /* --------------------------------------------------------------------------
137 CSSM_GetPrivilege has been deprecated in 10.7 and later. There is no
138 alternate API as this call is only needed when calling CDSA APIs
139 -------------------------------------------------------------------------- */
140 CSSM_RETURN CSSMAPI
141 CSSM_GetPrivilege (CSSM_PRIVILEGE *Privilege)
142 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
143
144 /* --------------------------------------------------------------------------
145 CSSM_GetModuleGUIDFromHandle has been deprecated in 10.7 and later.
146 There is no alternate API as this call is only needed when calling CDSA
147 APIs
148 -------------------------------------------------------------------------- */
149 CSSM_RETURN CSSMAPI
150 CSSM_GetModuleGUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle,
151 CSSM_GUID_PTR ModuleGUID)
152 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
153
154 /* --------------------------------------------------------------------------
155 CSSM_GetSubserviceUIDFromHandle has been deprecated in 10.7 and later.
156 There is no alternate API as this call is only needed when calling CDSA
157 APIs
158 -------------------------------------------------------------------------- */
159 CSSM_RETURN CSSMAPI
160 CSSM_GetSubserviceUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle,
161 CSSM_SUBSERVICE_UID_PTR SubserviceUID)
162 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
163
164 /* --------------------------------------------------------------------------
165 CSSM_ListAttachedModuleManagers has been deprecated in 10.7 and later.
166 There is no alternate API as this call is only needed when calling CDSA
167 APIs
168 -------------------------------------------------------------------------- */
169 CSSM_RETURN CSSMAPI
170 CSSM_ListAttachedModuleManagers (uint32 *NumberOfModuleManagers,
171 CSSM_GUID_PTR ModuleManagerGuids)
172 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
173
174 /* --------------------------------------------------------------------------
175 CSSM_GetAPIMemoryFunctions has been deprecated in 10.7 and later.
176 There is no alternate API as this call is only needed when calling CDSA
177 APIs
178 -------------------------------------------------------------------------- */
179 CSSM_RETURN CSSMAPI
180 CSSM_GetAPIMemoryFunctions (CSSM_MODULE_HANDLE AddInHandle,
181 CSSM_API_MEMORY_FUNCS_PTR AppMemoryFuncs)
182 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
183
184
185 /* Cryptographic Context Operations */
186
187 /* --------------------------------------------------------------------------
188 CSSM_CSP_CreateSignatureContext has been deprecated in 10.7 and later.
189 The replacement API for this is SecSignTransformCreate in the
190 SecSignVerifyTransform.h file.
191 -------------------------------------------------------------------------- */
192 CSSM_RETURN CSSMAPI
193 CSSM_CSP_CreateSignatureContext (CSSM_CSP_HANDLE CSPHandle,
194 CSSM_ALGORITHMS AlgorithmID,
195 const CSSM_ACCESS_CREDENTIALS *AccessCred,
196 const CSSM_KEY *Key,
197 CSSM_CC_HANDLE *NewContextHandle)
198 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
199
200 /* --------------------------------------------------------------------------
201 CSSM_CSP_CreateSignatureContext has been deprecated in 10.7 and later.
202 The replacement API for this is SecSignTransformCreate in the
203 SecSignVerifyTransform.h file.
204 -------------------------------------------------------------------------- */
205 CSSM_RETURN CSSMAPI
206 CSSM_CSP_CreateSymmetricContext (CSSM_CSP_HANDLE CSPHandle,
207 CSSM_ALGORITHMS AlgorithmID,
208 CSSM_ENCRYPT_MODE Mode,
209 const CSSM_ACCESS_CREDENTIALS *AccessCred,
210 const CSSM_KEY *Key,
211 const CSSM_DATA *InitVector,
212 CSSM_PADDING Padding,
213 void *Reserved,
214 CSSM_CC_HANDLE *NewContextHandle)
215 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
216
217 /* --------------------------------------------------------------------------
218 CSSM_CSP_CreateDigestContext has been deprecated in 10.7 and later.
219 The replacement API for this is SecDigestTransformCreate in the
220 SecDigestTransform.h file.
221 -------------------------------------------------------------------------- */
222 CSSM_RETURN CSSMAPI
223 CSSM_CSP_CreateDigestContext (CSSM_CSP_HANDLE CSPHandle,
224 CSSM_ALGORITHMS AlgorithmID,
225 CSSM_CC_HANDLE *NewContextHandle)
226 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
227
228 /* --------------------------------------------------------------------------
229 CSSM_CSP_CreateMacContext has been deprecated in 10.7 and later.
230 The replacement API for this is SecDigestTransformCreate in the
231 SecDigestTransform.h file.
232 -------------------------------------------------------------------------- */
233 CSSM_RETURN CSSMAPI
234 CSSM_CSP_CreateMacContext (CSSM_CSP_HANDLE CSPHandle,
235 CSSM_ALGORITHMS AlgorithmID,
236 const CSSM_KEY *Key,
237 CSSM_CC_HANDLE *NewContextHandle)
238 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
239
240 /* --------------------------------------------------------------------------
241 CSSM_CSP_CreateRandomGenContext has been deprecated in 10.7 and later.
242 There is no replacement API as this API is only needed with CDSA. Please
243 see the SecRandom.h file to get random numbers
244 -------------------------------------------------------------------------- */
245 CSSM_RETURN CSSMAPI
246 CSSM_CSP_CreateRandomGenContext (CSSM_CSP_HANDLE CSPHandle,
247 CSSM_ALGORITHMS AlgorithmID,
248 const CSSM_CRYPTO_DATA *Seed,
249 CSSM_SIZE Length,
250 CSSM_CC_HANDLE *NewContextHandle)
251 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
252
253 /* --------------------------------------------------------------------------
254 CSSM_CSP_CreateAsymmetricContext has been deprecated in 10.7 and later.
255 There is no direct replacement of this API as it is only needed by CDSA.
256 For asymmertical encryption/decryption use the SecEncryptTransformCreate
257 or SecDecryptTransformCreate with a asymmertical key.
258 -------------------------------------------------------------------------- */
259 CSSM_RETURN CSSMAPI
260 CSSM_CSP_CreateAsymmetricContext (CSSM_CSP_HANDLE CSPHandle,
261 CSSM_ALGORITHMS AlgorithmID,
262 const CSSM_ACCESS_CREDENTIALS *AccessCred,
263 const CSSM_KEY *Key,
264 CSSM_PADDING Padding,
265 CSSM_CC_HANDLE *NewContextHandle)
266 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
267
268 /* --------------------------------------------------------------------------
269 CSSM_CSP_CreateDeriveKeyContext has been deprecated in 10.7 and later.
270 The replacement for this API would be the SecKeyDeriveFromPassword API
271 in the SecKey.h file
272 -------------------------------------------------------------------------- */
273 CSSM_RETURN CSSMAPI
274 CSSM_CSP_CreateDeriveKeyContext (CSSM_CSP_HANDLE CSPHandle,
275 CSSM_ALGORITHMS AlgorithmID,
276 CSSM_KEY_TYPE DeriveKeyType,
277 uint32 DeriveKeyLengthInBits,
278 const CSSM_ACCESS_CREDENTIALS *AccessCred,
279 const CSSM_KEY *BaseKey,
280 uint32 IterationCount,
281 const CSSM_DATA *Salt,
282 const CSSM_CRYPTO_DATA *Seed,
283 CSSM_CC_HANDLE *NewContextHandle)
284 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
285
286 /* --------------------------------------------------------------------------
287 CSSM_CSP_CreateKeyGenContext has been deprecated in 10.7 and later.
288 The replacement for this API would be either the SecKeyGeneratePair API
289 or the SecKeyGenerateSymmetric API in the SecKey.h file
290 -------------------------------------------------------------------------- */
291 CSSM_RETURN CSSMAPI
292 CSSM_CSP_CreateKeyGenContext (CSSM_CSP_HANDLE CSPHandle,
293 CSSM_ALGORITHMS AlgorithmID,
294 uint32 KeySizeInBits,
295 const CSSM_CRYPTO_DATA *Seed,
296 const CSSM_DATA *Salt,
297 const CSSM_DATE *StartDate,
298 const CSSM_DATE *EndDate,
299 const CSSM_DATA *Params,
300 CSSM_CC_HANDLE *NewContextHandle)
301 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
302
303 /* --------------------------------------------------------------------------
304 CSSM_CSP_CreatePassThroughContext has been deprecated in 10.7 and later.
305 There is no alternate API as this call is only needed when calling
306 CDSA APIs
307 -------------------------------------------------------------------------- */
308 CSSM_RETURN CSSMAPI
309 CSSM_CSP_CreatePassThroughContext (CSSM_CSP_HANDLE CSPHandle,
310 const CSSM_KEY *Key,
311 CSSM_CC_HANDLE *NewContextHandle)
312 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
313
314 /* --------------------------------------------------------------------------
315 CSSM_GetContext has been deprecated in 10.7 and later.
316 There is no alternate API as this call is only needed when calling
317 CDSA APIs
318 -------------------------------------------------------------------------- */
319 CSSM_RETURN CSSMAPI
320 CSSM_GetContext (CSSM_CC_HANDLE CCHandle,
321 CSSM_CONTEXT_PTR *Context)
322 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
323
324 /* --------------------------------------------------------------------------
325 CSSM_FreeContext has been deprecated in 10.7 and later.
326 There is no alternate API as this call is only needed when calling
327 CDSA APIs
328 -------------------------------------------------------------------------- */
329 CSSM_RETURN CSSMAPI
330 CSSM_FreeContext (CSSM_CONTEXT_PTR Context)
331 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
332
333 /* --------------------------------------------------------------------------
334 CSSM_SetContext has been deprecated in 10.7 and later.
335 There is no alternate API as this call is only needed when calling
336 CDSA APIs
337 -------------------------------------------------------------------------- */
338 CSSM_RETURN CSSMAPI
339 CSSM_SetContext (CSSM_CC_HANDLE CCHandle,
340 const CSSM_CONTEXT *Context)
341 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
342
343 /* --------------------------------------------------------------------------
344 CSSM_DeleteContext has been deprecated in 10.7 and later.
345 There is no alternate API as this call is only needed when calling
346 CDSA APIs
347 -------------------------------------------------------------------------- */
348 CSSM_RETURN CSSMAPI
349 CSSM_DeleteContext (CSSM_CC_HANDLE CCHandle)
350 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
351
352 /* --------------------------------------------------------------------------
353 CSSM_GetContextAttribute has been deprecated in 10.7 and later.
354 There is no alternate API as this call is only needed when calling
355 CDSA APIs
356 -------------------------------------------------------------------------- */
357 CSSM_RETURN CSSMAPI
358 CSSM_GetContextAttribute (const CSSM_CONTEXT *Context,
359 uint32 AttributeType,
360 CSSM_CONTEXT_ATTRIBUTE_PTR *ContextAttribute)
361 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
362
363 /* --------------------------------------------------------------------------
364 CSSM_UpdateContextAttributes has been deprecated in 10.7 and later.
365 There is no alternate API as this call is only needed when calling
366 CDSA APIs
367 -------------------------------------------------------------------------- */
368 CSSM_RETURN CSSMAPI
369 CSSM_UpdateContextAttributes (CSSM_CC_HANDLE CCHandle,
370 uint32 NumberOfAttributes,
371 const CSSM_CONTEXT_ATTRIBUTE *ContextAttributes)
372 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
373
374 /* --------------------------------------------------------------------------
375 CSSM_DeleteContextAttributes has been deprecated in 10.7 and later.
376 There is no alternate API as this call is only needed when calling
377 CDSA APIs
378 -------------------------------------------------------------------------- */
379 CSSM_RETURN CSSMAPI
380 CSSM_DeleteContextAttributes (CSSM_CC_HANDLE CCHandle,
381 uint32 NumberOfAttributes,
382 const CSSM_CONTEXT_ATTRIBUTE *ContextAttributes)
383 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
384
385
386 /* Cryptographic Sessions and Controlled Access to Keys */
387 /* --------------------------------------------------------------------------
388 CSSM_CSP_Login has been deprecated in 10.7 and later.
389 There is no alternate API as this call is only needed when calling
390 CDSA APIs
391 -------------------------------------------------------------------------- */
392 CSSM_RETURN CSSMAPI
393 CSSM_CSP_Login (CSSM_CSP_HANDLE CSPHandle,
394 const CSSM_ACCESS_CREDENTIALS *AccessCred,
395 const CSSM_DATA *LoginName,
396 const void *Reserved)
397 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
398
399 /* --------------------------------------------------------------------------
400 CSSM_CSP_Logout has been deprecated in 10.7 and later.
401 There is no alternate API as this call is only needed when calling
402 CDSA APIs
403 -------------------------------------------------------------------------- */
404 CSSM_RETURN CSSMAPI
405 CSSM_CSP_Logout (CSSM_CSP_HANDLE CSPHandle)
406 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
407
408 /* --------------------------------------------------------------------------
409 CSSM_CSP_GetLoginAcl has been deprecated in 10.7 and later.
410 There is no alternate API as this call is only needed when calling
411 CDSA APIs
412 -------------------------------------------------------------------------- */
413 CSSM_RETURN CSSMAPI
414 CSSM_CSP_GetLoginAcl (CSSM_CSP_HANDLE CSPHandle,
415 const CSSM_STRING *SelectionTag,
416 uint32 *NumberOfAclInfos,
417 CSSM_ACL_ENTRY_INFO_PTR *AclInfos)
418 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
419
420 /* --------------------------------------------------------------------------
421 CSSM_CSP_ChangeLoginAcl has been deprecated in 10.7 and later.
422 There is no alternate API as this call is only needed when calling
423 CDSA APIs
424 -------------------------------------------------------------------------- */
425 CSSM_RETURN CSSMAPI
426 CSSM_CSP_ChangeLoginAcl (CSSM_CSP_HANDLE CSPHandle,
427 const CSSM_ACCESS_CREDENTIALS *AccessCred,
428 const CSSM_ACL_EDIT *AclEdit)
429 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
430
431 /* --------------------------------------------------------------------------
432 CSSM_GetKeyAcl has been deprecated in 10.7 and later.
433 If the key in question is in a keychain then the ACL for the key can be
434 acquired by using the SecItemCopyMatching API specifically
435 kSecReturnAttributes with a value of kCFBooleanTrue. In the attributes
436 dictionary is kSecAttrAccess key with a value of a SecAccessRef. With
437 a SecAccessRef the ACL for the key can be gotten using either the
438 SecAccessCopyACLList API.
439 -------------------------------------------------------------------------- */
440 CSSM_RETURN CSSMAPI
441 CSSM_GetKeyAcl (CSSM_CSP_HANDLE CSPHandle,
442 const CSSM_KEY *Key,
443 const CSSM_STRING *SelectionTag,
444 uint32 *NumberOfAclInfos,
445 CSSM_ACL_ENTRY_INFO_PTR *AclInfos)
446 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
447
448 /* --------------------------------------------------------------------------
449 CSSM_ChangeKeyAcl has been deprecated in 10.7 and later.
450 If the key in question is in a keychain then the ACL for the key can be
451 changed by using the SecItemUpdate API.
452 -------------------------------------------------------------------------- */
453 CSSM_RETURN CSSMAPI
454 CSSM_ChangeKeyAcl (CSSM_CSP_HANDLE CSPHandle,
455 const CSSM_ACCESS_CREDENTIALS *AccessCred,
456 const CSSM_ACL_EDIT *AclEdit,
457 const CSSM_KEY *Key)
458 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
459
460 /* --------------------------------------------------------------------------
461 CSSM_GetKeyOwner has been deprecated in 10.7 and later.
462 If the key in question is in a keychain then the ACL for the key can be
463 acquired by using the SecItemCopyMatching API specifically
464 kSecReturnAttributes with a value of kCFBooleanTrue. In the attributes
465 dictionary is kSecAttrAccess key with a value of a SecAccessRef. With
466 a SecAccessRef the ACL for the key can be gotten using either the
467 SecAccessCopyOwnerAndACL API.
468 -------------------------------------------------------------------------- */
469
470 CSSM_RETURN CSSMAPI
471 CSSM_GetKeyOwner (CSSM_CSP_HANDLE CSPHandle,
472 const CSSM_KEY *Key,
473 CSSM_ACL_OWNER_PROTOTYPE_PTR Owner)
474 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
475
476 /* --------------------------------------------------------------------------
477 CSSM_ChangeKeyOwner has been deprecated in 10.7 and later.
478 If the key in question is in a keychain then the ACL for the key can be
479 changed by using the SecItemUpdate API.
480 -------------------------------------------------------------------------- */
481 CSSM_RETURN CSSMAPI
482 CSSM_ChangeKeyOwner (CSSM_CSP_HANDLE CSPHandle,
483 const CSSM_ACCESS_CREDENTIALS *AccessCred,
484 const CSSM_KEY *Key,
485 const CSSM_ACL_OWNER_PROTOTYPE *NewOwner)
486 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
487
488 /* --------------------------------------------------------------------------
489 CSSM_CSP_GetLoginOwner has been deprecated in 10.7 and later.
490 There is no alternate API as this call is only needed when calling
491 CDSA APIs
492 -------------------------------------------------------------------------- */
493 CSSM_RETURN CSSMAPI
494 CSSM_CSP_GetLoginOwner (CSSM_CSP_HANDLE CSPHandle,
495 CSSM_ACL_OWNER_PROTOTYPE_PTR Owner)
496 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
497
498 /* --------------------------------------------------------------------------
499 CSSM_CSP_ChangeLoginOwner has been deprecated in 10.7 and later.
500 There is no alternate API as this call is only needed when calling
501 CDSA APIs
502 -------------------------------------------------------------------------- */
503 CSSM_RETURN CSSMAPI
504 CSSM_CSP_ChangeLoginOwner (CSSM_CSP_HANDLE CSPHandle,
505 const CSSM_ACCESS_CREDENTIALS *AccessCred,
506 const CSSM_ACL_OWNER_PROTOTYPE *NewOwner)
507 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
508
509 /* --------------------------------------------------------------------------
510 CSSM_SignData has been deprecated in 10.7 and later.
511 To sign data use the SecSignTransformCreate API to create the transform
512 and the SecTransform APIs to set the data and to execute the transform.
513 -------------------------------------------------------------------------- */
514 CSSM_RETURN CSSMAPI
515 CSSM_SignData (CSSM_CC_HANDLE CCHandle,
516 const CSSM_DATA *DataBufs,
517 uint32 DataBufCount,
518 CSSM_ALGORITHMS DigestAlgorithm,
519 CSSM_DATA_PTR Signature)
520 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
521
522 /* --------------------------------------------------------------------------
523 CSSM_SignDataInit has been deprecated in 10.7 and later.
524 To sign data use the SecSignTransformCreate API to create the transform
525 and the SecTransform APIs to set the data and to execute the transform.
526 -------------------------------------------------------------------------- */
527 CSSM_RETURN CSSMAPI
528 CSSM_SignDataInit (CSSM_CC_HANDLE CCHandle)
529 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
530
531 /* --------------------------------------------------------------------------
532 CSSM_SignDataUpdate has been deprecated in 10.7 and later.
533 To sign data use the SecSignTransformCreate API to create the transform
534 and the SecTransform APIs to set the data and to execute the transform.
535 -------------------------------------------------------------------------- */
536 CSSM_RETURN CSSMAPI
537 CSSM_SignDataUpdate (CSSM_CC_HANDLE CCHandle,
538 const CSSM_DATA *DataBufs,
539 uint32 DataBufCount)
540 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
541
542 /* --------------------------------------------------------------------------
543 CSSM_SignDataFinal has been deprecated in 10.7 and later.
544 To sign data use the SecSignTransformCreate API to create the transform
545 and the SecTransform APIs to set the data and to execute the transform.
546 -------------------------------------------------------------------------- */
547 CSSM_RETURN CSSMAPI
548 CSSM_SignDataFinal (CSSM_CC_HANDLE CCHandle,
549 CSSM_DATA_PTR Signature)
550 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
551
552 /* --------------------------------------------------------------------------
553 CSSM_VerifyData has been deprecated in 10.7 and later.
554 To sign data use the SecVerifyTransformCreate API to create the transform
555 and the SecTransform APIs to set the data and to execute the transform.
556 -------------------------------------------------------------------------- */
557 CSSM_RETURN CSSMAPI
558 CSSM_VerifyData (CSSM_CC_HANDLE CCHandle,
559 const CSSM_DATA *DataBufs,
560 uint32 DataBufCount,
561 CSSM_ALGORITHMS DigestAlgorithm,
562 const CSSM_DATA *Signature)
563 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
564
565 /* --------------------------------------------------------------------------
566 CSSM_VerifyDataInit has been deprecated in 10.7 and later.
567 To sign data use the SecVerifyTransformCreate API to create the transform
568 and the SecTransform APIs to set the data and to execute the transform.
569 -------------------------------------------------------------------------- */
570 CSSM_RETURN CSSMAPI
571 CSSM_VerifyDataInit (CSSM_CC_HANDLE CCHandle)
572 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
573
574 /* --------------------------------------------------------------------------
575 CSSM_VerifyDataUpdate has been deprecated in 10.7 and later.
576 To sign data use the SecVerifyTransformCreate API to create the transform
577 and the SecTransform APIs to set the data and to execute the transform.
578 -------------------------------------------------------------------------- */
579 CSSM_RETURN CSSMAPI
580 CSSM_VerifyDataUpdate (CSSM_CC_HANDLE CCHandle,
581 const CSSM_DATA *DataBufs,
582 uint32 DataBufCount)
583 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
584
585 /* --------------------------------------------------------------------------
586 CSSM_VerifyDataFinal has been deprecated in 10.7 and later.
587 To sign data use the SecVerifyTransformCreate API to create the transform
588 and the SecTransform APIs to set the data and to execute the transform.
589 -------------------------------------------------------------------------- */
590 CSSM_RETURN CSSMAPI
591 CSSM_VerifyDataFinal (CSSM_CC_HANDLE CCHandle,
592 const CSSM_DATA *Signature)
593 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
594
595 /* --------------------------------------------------------------------------
596 CSSM_DigestData has been deprecated in 10.7 and later.
597 To sign data use the SecDigestTransformCreate API to create the transform
598 and the SecTransform APIs to set the data and to execute the transform.
599 -------------------------------------------------------------------------- */
600 CSSM_RETURN CSSMAPI
601 CSSM_DigestData (CSSM_CC_HANDLE CCHandle,
602 const CSSM_DATA *DataBufs,
603 uint32 DataBufCount,
604 CSSM_DATA_PTR Digest)
605 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
606
607 /* --------------------------------------------------------------------------
608 CSSM_DigestDataInit has been deprecated in 10.7 and later.
609 To sign data use the SecDigestTransformCreate API to create the transform
610 and the SecTransform APIs to set the data and to execute the transform.
611 -------------------------------------------------------------------------- */
612 CSSM_RETURN CSSMAPI
613 CSSM_DigestDataInit (CSSM_CC_HANDLE CCHandle)
614 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
615
616 /* --------------------------------------------------------------------------
617 CSSM_DigestDataUpdate has been deprecated in 10.7 and later.
618 To sign data use the SecDigestTransformCreate API to create the transform
619 and the SecTransform APIs to set the data and to execute the transform.
620 -------------------------------------------------------------------------- */
621 CSSM_RETURN CSSMAPI
622 CSSM_DigestDataUpdate (CSSM_CC_HANDLE CCHandle,
623 const CSSM_DATA *DataBufs,
624 uint32 DataBufCount)
625 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
626
627 /* --------------------------------------------------------------------------
628 CSSM_DigestDataClone has been deprecated in 10.7 and later.
629 Given that transforms can have be connected into chains, this
630 functionality is no longer needed.
631 -------------------------------------------------------------------------- */
632 CSSM_RETURN CSSMAPI
633 CSSM_DigestDataClone (CSSM_CC_HANDLE CCHandle,
634 CSSM_CC_HANDLE *ClonednewCCHandle)
635 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
636
637 /* --------------------------------------------------------------------------
638 CSSM_DigestDataFinal has been deprecated in 10.7 and later.
639 To sign data use the SecDigestTransformCreate API to create the transform
640 and the SecTransform APIs to set the data and to execute the transform.
641 -------------------------------------------------------------------------- */
642 CSSM_RETURN CSSMAPI
643 CSSM_DigestDataFinal (CSSM_CC_HANDLE CCHandle,
644 CSSM_DATA_PTR Digest)
645 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
646
647 /* --------------------------------------------------------------------------
648 CSSM_GenerateMac has been deprecated in 10.7 and later.
649 To sign data use the SecDigestTransformCreate API to create the transform
650 and the SecTransform APIs to set the data and to execute the transform.
651 -------------------------------------------------------------------------- */
652 CSSM_RETURN CSSMAPI
653 CSSM_GenerateMac (CSSM_CC_HANDLE CCHandle,
654 const CSSM_DATA *DataBufs,
655 uint32 DataBufCount,
656 CSSM_DATA_PTR Mac)
657 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
658
659 /* --------------------------------------------------------------------------
660 CSSM_GenerateMacInit has been deprecated in 10.7 and later.
661 To sign data use the SecDigestTransformCreate API to create the transform
662 and the SecTransform APIs to set the data and to execute the transform.
663 -------------------------------------------------------------------------- */
664 CSSM_RETURN CSSMAPI
665 CSSM_GenerateMacInit (CSSM_CC_HANDLE CCHandle)
666 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
667
668 /* --------------------------------------------------------------------------
669 CSSM_GenerateMacUpdate has been deprecated in 10.7 and later.
670 To sign data use the SecDigestTransformCreate API to create the transform
671 and the SecTransform APIs to set the data and to execute the transform.
672 -------------------------------------------------------------------------- */
673 CSSM_RETURN CSSMAPI
674 CSSM_GenerateMacUpdate (CSSM_CC_HANDLE CCHandle,
675 const CSSM_DATA *DataBufs,
676 uint32 DataBufCount)
677 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
678
679 /* --------------------------------------------------------------------------
680 CSSM_GenerateMacFinal has been deprecated in 10.7 and later.
681 To sign data use the SecDigestTransformCreate API to create the transform
682 and the SecTransform APIs to set the data and to execute the transform.
683 -------------------------------------------------------------------------- */
684 CSSM_RETURN CSSMAPI
685 CSSM_GenerateMacFinal (CSSM_CC_HANDLE CCHandle,
686 CSSM_DATA_PTR Mac)
687 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
688
689 /* --------------------------------------------------------------------------
690 CSSM_VerifyMac has been deprecated in 10.7 and later.
691 To sign data use the SecVerifyTransformCreate API to create the transform
692 and the SecTransform APIs to set the data and to execute the transform.
693 -------------------------------------------------------------------------- */
694 CSSM_RETURN CSSMAPI
695 CSSM_VerifyMac (CSSM_CC_HANDLE CCHandle,
696 const CSSM_DATA *DataBufs,
697 uint32 DataBufCount,
698 const CSSM_DATA *Mac)
699 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
700
701 /* --------------------------------------------------------------------------
702 CSSM_VerifyMacInit has been deprecated in 10.7 and later.
703 To sign data use the SecVerifyTransformCreate API to create the transform
704 and the SecTransform APIs to set the data and to execute the transform.
705 -------------------------------------------------------------------------- */
706 CSSM_RETURN CSSMAPI
707 CSSM_VerifyMacInit (CSSM_CC_HANDLE CCHandle)
708 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
709
710 /* --------------------------------------------------------------------------
711 CSSM_VerifyMacUpdate has been deprecated in 10.7 and later.
712 To sign data use the SecVerifyTransformCreate API to create the transform
713 and the SecTransform APIs to set the data and to execute the transform.
714 -------------------------------------------------------------------------- */
715 CSSM_RETURN CSSMAPI
716 CSSM_VerifyMacUpdate (CSSM_CC_HANDLE CCHandle,
717 const CSSM_DATA *DataBufs,
718 uint32 DataBufCount)
719 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
720
721 /* --------------------------------------------------------------------------
722 CSSM_VerifyMacFinal has been deprecated in 10.7 and later.
723 To sign data use the SecVerifyTransformCreate API to create the transform
724 and the SecTransform APIs to set the data and to execute the transform.
725 -------------------------------------------------------------------------- */
726 CSSM_RETURN CSSMAPI
727 CSSM_VerifyMacFinal (CSSM_CC_HANDLE CCHandle,
728 const CSSM_DATA *Mac)
729 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
730
731 /* --------------------------------------------------------------------------
732 CSSM_QuerySize has been deprecated in 10.7 and later.
733 Given that transforms buffer data into queues, this functionality is no
734 longer needed.
735 -------------------------------------------------------------------------- */
736 CSSM_RETURN CSSMAPI
737 CSSM_QuerySize (CSSM_CC_HANDLE CCHandle,
738 CSSM_BOOL Encrypt,
739 uint32 QuerySizeCount,
740 CSSM_QUERY_SIZE_DATA_PTR DataBlockSizes)
741 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
742
743
744 /* --------------------------------------------------------------------------
745 CSSM_EncryptData has been deprecated in 10.7 and later.
746 To sign data use the SecEncryptTransformCreate API to create the transform
747 and the SecTransform APIs to set the data and to execute the transform.
748 -------------------------------------------------------------------------- */
749 CSSM_RETURN CSSMAPI
750 CSSM_EncryptData (CSSM_CC_HANDLE CCHandle,
751 const CSSM_DATA *ClearBufs,
752 uint32 ClearBufCount,
753 CSSM_DATA_PTR CipherBufs,
754 uint32 CipherBufCount,
755 CSSM_SIZE *bytesEncrypted,
756 CSSM_DATA_PTR RemData)
757 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
758
759 /* --------------------------------------------------------------------------
760 CSSM_EncryptDataP has been deprecated in 10.7 and later.
761 To sign data use the SecEncryptTransformCreate API to create the transform
762 and the SecTransform APIs to set the data and to execute the transform.
763 -------------------------------------------------------------------------- */
764 CSSM_RETURN CSSMAPI
765 CSSM_EncryptDataP (CSSM_CC_HANDLE CCHandle,
766 const CSSM_DATA *ClearBufs,
767 uint32 ClearBufCount,
768 CSSM_DATA_PTR CipherBufs,
769 uint32 CipherBufCount,
770 CSSM_SIZE *bytesEncrypted,
771 CSSM_DATA_PTR RemData,
772 CSSM_PRIVILEGE Privilege)
773 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
774
775 /* --------------------------------------------------------------------------
776 CSSM_EncryptDataInit has been deprecated in 10.7 and later.
777 To sign data use the SecEncryptTransformCreate API to create the transform
778 and the SecTransform APIs to set the data and to execute the transform.
779 -------------------------------------------------------------------------- */
780 CSSM_RETURN CSSMAPI
781 CSSM_EncryptDataInit (CSSM_CC_HANDLE CCHandle)
782 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
783
784 /* --------------------------------------------------------------------------
785 CSSM_EncryptDataInitP has been deprecated in 10.7 and later.
786 To sign data use the SecEncryptTransformCreate API to create the transform
787 and the SecTransform APIs to set the data and to execute the transform.
788 -------------------------------------------------------------------------- */
789 CSSM_RETURN CSSMAPI
790 CSSM_EncryptDataInitP (CSSM_CC_HANDLE CCHandle,
791 CSSM_PRIVILEGE Privilege)
792 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
793
794 /* --------------------------------------------------------------------------
795 CSSM_EncryptDataUpdate has been deprecated in 10.7 and later.
796 To sign data use the SecEncryptTransformCreate API to create the transform
797 and the SecTransform APIs to set the data and to execute the transform.
798 -------------------------------------------------------------------------- */
799 CSSM_RETURN CSSMAPI
800 CSSM_EncryptDataUpdate (CSSM_CC_HANDLE CCHandle,
801 const CSSM_DATA *ClearBufs,
802 uint32 ClearBufCount,
803 CSSM_DATA_PTR CipherBufs,
804 uint32 CipherBufCount,
805 CSSM_SIZE *bytesEncrypted)
806 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
807
808 /* --------------------------------------------------------------------------
809 CSSM_EncryptDataFinal has been deprecated in 10.7 and later.
810 To sign data use the SecEncryptTransformCreate API to create the transform
811 and the SecTransform APIs to set the data and to execute the transform.
812 -------------------------------------------------------------------------- */
813 CSSM_RETURN CSSMAPI
814 CSSM_EncryptDataFinal (CSSM_CC_HANDLE CCHandle,
815 CSSM_DATA_PTR RemData)
816 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
817
818 /* --------------------------------------------------------------------------
819 CSSM_DecryptData has been deprecated in 10.7 and later.
820 To sign data use the SecDecryptTransformCreate API to create the transform
821 and the SecTransform APIs to set the data and to execute the transform.
822 -------------------------------------------------------------------------- */
823 CSSM_RETURN CSSMAPI
824 CSSM_DecryptData (CSSM_CC_HANDLE CCHandle,
825 const CSSM_DATA *CipherBufs,
826 uint32 CipherBufCount,
827 CSSM_DATA_PTR ClearBufs,
828 uint32 ClearBufCount,
829 CSSM_SIZE *bytesDecrypted,
830 CSSM_DATA_PTR RemData)
831 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
832
833 /* --------------------------------------------------------------------------
834 CSSM_DecryptDataP has been deprecated in 10.7 and later.
835 To sign data use the SecDecryptTransformCreate API to create the transform
836 and the SecTransform APIs to set the data and to execute the transform.
837 -------------------------------------------------------------------------- */
838 CSSM_RETURN CSSMAPI
839 CSSM_DecryptDataP (CSSM_CC_HANDLE CCHandle,
840 const CSSM_DATA *CipherBufs,
841 uint32 CipherBufCount,
842 CSSM_DATA_PTR ClearBufs,
843 uint32 ClearBufCount,
844 CSSM_SIZE *bytesDecrypted,
845 CSSM_DATA_PTR RemData,
846 CSSM_PRIVILEGE Privilege)
847 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
848
849 /* --------------------------------------------------------------------------
850 CSSM_DecryptDataInit has been deprecated in 10.7 and later.
851 To sign data use the SecDecryptTransformCreate API to create the transform
852 and the SecTransform APIs to set the data and to execute the transform.
853 -------------------------------------------------------------------------- */
854 CSSM_RETURN CSSMAPI
855 CSSM_DecryptDataInit (CSSM_CC_HANDLE CCHandle)
856 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
857
858 /* --------------------------------------------------------------------------
859 CSSM_DecryptDataInitP has been deprecated in 10.7 and later.
860 To sign data use the SecDecryptTransformCreate API to create the transform
861 and the SecTransform APIs to set the data and to execute the transform.
862 -------------------------------------------------------------------------- */
863 CSSM_RETURN CSSMAPI
864 CSSM_DecryptDataInitP (CSSM_CC_HANDLE CCHandle,
865 CSSM_PRIVILEGE Privilege)
866 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
867
868 /* --------------------------------------------------------------------------
869 CSSM_DecryptDataUpdate has been deprecated in 10.7 and later.
870 To sign data use the SecDecryptTransformCreate API to create the transform
871 and the SecTransform APIs to set the data and to execute the transform.
872 -------------------------------------------------------------------------- */
873 CSSM_RETURN CSSMAPI
874 CSSM_DecryptDataUpdate (CSSM_CC_HANDLE CCHandle,
875 const CSSM_DATA *CipherBufs,
876 uint32 CipherBufCount,
877 CSSM_DATA_PTR ClearBufs,
878 uint32 ClearBufCount,
879 CSSM_SIZE *bytesDecrypted)
880 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
881
882 /* --------------------------------------------------------------------------
883 CSSM_DecryptDataFinal has been deprecated in 10.7 and later.
884 To sign data use the SecDecryptTransformCreate API to create the transform
885 and the SecTransform APIs to set the data and to execute the transform.
886 -------------------------------------------------------------------------- */
887 CSSM_RETURN CSSMAPI
888 CSSM_DecryptDataFinal (CSSM_CC_HANDLE CCHandle,
889 CSSM_DATA_PTR RemData)
890 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
891
892 /* --------------------------------------------------------------------------
893 CSSM_QueryKeySizeInBits has been deprecated in 10.7 and later.
894 Given that a SecKeyRef abstracts the usage of a key this API so no longer
895 needed.
896 -------------------------------------------------------------------------- */
897 CSSM_RETURN CSSMAPI
898 CSSM_QueryKeySizeInBits (CSSM_CSP_HANDLE CSPHandle,
899 CSSM_CC_HANDLE CCHandle,
900 const CSSM_KEY *Key,
901 CSSM_KEY_SIZE_PTR KeySize)
902 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
903
904 /* --------------------------------------------------------------------------
905 CSSM_GenerateKey has been deprecated in 10.7 and later.
906 To create a symmetrical key call SecKeyGenerateSymmetric.
907 -------------------------------------------------------------------------- */
908 CSSM_RETURN CSSMAPI
909 CSSM_GenerateKey (CSSM_CC_HANDLE CCHandle,
910 uint32 KeyUsage,
911 uint32 KeyAttr,
912 const CSSM_DATA *KeyLabel,
913 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
914 CSSM_KEY_PTR Key)
915 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
916
917 /* --------------------------------------------------------------------------
918 CSSM_GenerateKeyP has been deprecated in 10.7 and later.
919 To create a symmetrical key call SecKeyGenerateSymmetric.
920 -------------------------------------------------------------------------- */
921 CSSM_RETURN CSSMAPI
922 CSSM_GenerateKeyP (CSSM_CC_HANDLE CCHandle,
923 uint32 KeyUsage,
924 uint32 KeyAttr,
925 const CSSM_DATA *KeyLabel,
926 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
927 CSSM_KEY_PTR Key,
928 CSSM_PRIVILEGE Privilege)
929 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
930
931 /* --------------------------------------------------------------------------
932 CSSM_GenerateKeyPair has been deprecated in 10.7 and later.
933 To create an asymmetrical key call SecKeyGeneratePair.
934 -------------------------------------------------------------------------- */
935 CSSM_RETURN CSSMAPI
936 CSSM_GenerateKeyPair (CSSM_CC_HANDLE CCHandle,
937 uint32 PublicKeyUsage,
938 uint32 PublicKeyAttr,
939 const CSSM_DATA *PublicKeyLabel,
940 CSSM_KEY_PTR PublicKey,
941 uint32 PrivateKeyUsage,
942 uint32 PrivateKeyAttr,
943 const CSSM_DATA *PrivateKeyLabel,
944 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
945 CSSM_KEY_PTR PrivateKey)
946 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
947
948 /* --------------------------------------------------------------------------
949 CSSM_GenerateKeyPairP has been deprecated in 10.7 and later.
950 To create an asymmetrical key call SecKeyGeneratePair.
951 -------------------------------------------------------------------------- */
952 CSSM_RETURN CSSMAPI
953 CSSM_GenerateKeyPairP (CSSM_CC_HANDLE CCHandle,
954 uint32 PublicKeyUsage,
955 uint32 PublicKeyAttr,
956 const CSSM_DATA *PublicKeyLabel,
957 CSSM_KEY_PTR PublicKey,
958 uint32 PrivateKeyUsage,
959 uint32 PrivateKeyAttr,
960 const CSSM_DATA *PrivateKeyLabel,
961 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
962 CSSM_KEY_PTR PrivateKey,
963 CSSM_PRIVILEGE Privilege)
964 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
965
966 /* --------------------------------------------------------------------------
967 CSSM_GenerateRandom has been deprecated in 10.7 and later.
968 To get random data call SecRandomCopyBytes
969 -------------------------------------------------------------------------- */
970 CSSM_RETURN CSSMAPI
971 CSSM_GenerateRandom (CSSM_CC_HANDLE CCHandle,
972 CSSM_DATA_PTR RandomNumber)
973 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
974
975 /* --------------------------------------------------------------------------
976 CSSM_CSP_ObtainPrivateKeyFromPublicKey has been deprecated in 10.7 and later.
977 There is not currently a direct replacement for this API
978 -------------------------------------------------------------------------- */
979 CSSM_RETURN CSSMAPI
980 CSSM_CSP_ObtainPrivateKeyFromPublicKey (CSSM_CSP_HANDLE CSPHandle,
981 const CSSM_KEY *PublicKey,
982 CSSM_KEY_PTR PrivateKey)
983 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
984
985 /* --------------------------------------------------------------------------
986 CSSM_WrapKey has been deprecated in 10.7 and later.
987 This is replaced with the SecKeyWrapSymmetric API.
988 -------------------------------------------------------------------------- */
989 CSSM_RETURN CSSMAPI
990 CSSM_WrapKey (CSSM_CC_HANDLE CCHandle,
991 const CSSM_ACCESS_CREDENTIALS *AccessCred,
992 const CSSM_KEY *Key,
993 const CSSM_DATA *DescriptiveData,
994 CSSM_WRAP_KEY_PTR WrappedKey)
995 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
996
997 /* --------------------------------------------------------------------------
998 CSSM_UnwrapKey has been deprecated in 10.7 and later.
999 This is replaced with the SecKeyUnwrapSymmetric API.
1000 -------------------------------------------------------------------------- */
1001 CSSM_RETURN CSSMAPI
1002 CSSM_UnwrapKey (CSSM_CC_HANDLE CCHandle,
1003 const CSSM_KEY *PublicKey,
1004 const CSSM_WRAP_KEY *WrappedKey,
1005 uint32 KeyUsage,
1006 uint32 KeyAttr,
1007 const CSSM_DATA *KeyLabel,
1008 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
1009 CSSM_KEY_PTR UnwrappedKey,
1010 CSSM_DATA_PTR DescriptiveData)
1011 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1012
1013 /* --------------------------------------------------------------------------
1014 CSSM_WrapKeyP has been deprecated in 10.7 and later.
1015 This is replaced with the SecKeyWrapSymmetric API.
1016 -------------------------------------------------------------------------- */
1017 CSSM_RETURN CSSMAPI
1018 CSSM_WrapKeyP (CSSM_CC_HANDLE CCHandle,
1019 const CSSM_ACCESS_CREDENTIALS *AccessCred,
1020 const CSSM_KEY *Key,
1021 const CSSM_DATA *DescriptiveData,
1022 CSSM_WRAP_KEY_PTR WrappedKey,
1023 CSSM_PRIVILEGE Privilege)
1024 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1025
1026 /* --------------------------------------------------------------------------
1027 CSSM_WrapKeyP has been deprecated in 10.7 and later.
1028 This is replaced with the SecKeyUnwrapSymmetric API.
1029 -------------------------------------------------------------------------- */
1030 CSSM_RETURN CSSMAPI
1031 CSSM_UnwrapKeyP (CSSM_CC_HANDLE CCHandle,
1032 const CSSM_KEY *PublicKey,
1033 const CSSM_WRAP_KEY *WrappedKey,
1034 uint32 KeyUsage,
1035 uint32 KeyAttr,
1036 const CSSM_DATA *KeyLabel,
1037 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
1038 CSSM_KEY_PTR UnwrappedKey,
1039 CSSM_DATA_PTR DescriptiveData,
1040 CSSM_PRIVILEGE Privilege)
1041 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1042
1043 /* --------------------------------------------------------------------------
1044 CSSM_DeriveKey has been deprecated in 10.7 and later.
1045 This is replaced with the SecKeyDeriveFromPassword API.
1046 -------------------------------------------------------------------------- */
1047 CSSM_RETURN CSSMAPI
1048 CSSM_DeriveKey (CSSM_CC_HANDLE CCHandle,
1049 CSSM_DATA_PTR Param,
1050 uint32 KeyUsage,
1051 uint32 KeyAttr,
1052 const CSSM_DATA *KeyLabel,
1053 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
1054 CSSM_KEY_PTR DerivedKey)
1055 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1056
1057 /* --------------------------------------------------------------------------
1058 CSSM_FreeKey has been deprecated in 10.7 and later. There is no
1059 alternate API. If the key in question is in a keychain calling
1060 SecItemDelete will delete the key. If it is just a free standing key
1061 calling CFRelease on the SecKeyRef will delete the key.
1062 -------------------------------------------------------------------------- */
1063 CSSM_RETURN CSSMAPI
1064 CSSM_FreeKey (CSSM_CSP_HANDLE CSPHandle,
1065 const CSSM_ACCESS_CREDENTIALS *AccessCred,
1066 CSSM_KEY_PTR KeyPtr,
1067 CSSM_BOOL Delete)
1068 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1069
1070 /* --------------------------------------------------------------------------
1071 CSSM_GenerateAlgorithmParams has been deprecated in 10.7 and later.
1072 There is no alternate API as this call is only needed when calling
1073 CDSA APIs
1074 -------------------------------------------------------------------------- */
1075 CSSM_RETURN CSSMAPI
1076 CSSM_GenerateAlgorithmParams (CSSM_CC_HANDLE CCHandle,
1077 uint32 ParamBits,
1078 CSSM_DATA_PTR Param)
1079 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1080
1081
1082 /* Miscellaneous Functions for Cryptographic Services */
1083
1084 /* --------------------------------------------------------------------------
1085 CSSM_CSP_GetOperationalStatistics has been deprecated in 10.7 and later.
1086 There is no alternate API as this call is only needed when calling
1087 CDSA APIs
1088 -------------------------------------------------------------------------- */
1089 CSSM_RETURN CSSMAPI
1090 CSSM_CSP_GetOperationalStatistics (CSSM_CSP_HANDLE CSPHandle,
1091 CSSM_CSP_OPERATIONAL_STATISTICS *Statistics)
1092 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1093
1094
1095 /* --------------------------------------------------------------------------
1096 CSSM_GetTimeValue has been deprecated in 10.7 and later.
1097 There is no alternate API as this call is only needed when calling
1098 CDSA APIs
1099 -------------------------------------------------------------------------- */
1100 CSSM_RETURN CSSMAPI
1101 CSSM_GetTimeValue (CSSM_CSP_HANDLE CSPHandle,
1102 CSSM_ALGORITHMS TimeAlgorithm,
1103 CSSM_DATA *TimeData)
1104 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1105
1106 /* --------------------------------------------------------------------------
1107 CSSM_RetrieveUniqueId has been deprecated in 10.7 and later.
1108 There is no alternate API as this call is only needed when calling
1109 CDSA APIs. One could call CFUUIDCreate to create a unique ID.
1110 -------------------------------------------------------------------------- */
1111 CSSM_RETURN CSSMAPI
1112 CSSM_RetrieveUniqueId (CSSM_CSP_HANDLE CSPHandle,
1113 CSSM_DATA_PTR UniqueID)
1114 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1115
1116 /* --------------------------------------------------------------------------
1117 CSSM_RetrieveCounter has been deprecated in 10.7 and later.
1118 There is no alternate API as this call is only needed when calling
1119 CDSA APIs
1120 -------------------------------------------------------------------------- */
1121 CSSM_RETURN CSSMAPI
1122 CSSM_RetrieveCounter (CSSM_CSP_HANDLE CSPHandle,
1123 CSSM_DATA_PTR Counter)
1124 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1125
1126 /* --------------------------------------------------------------------------
1127 CSSM_VerifyDevice has been deprecated in 10.7 and later.
1128 There is no alternate API as this call is only needed when calling
1129 CDSA APIs
1130 -------------------------------------------------------------------------- */
1131 CSSM_RETURN CSSMAPI
1132 CSSM_VerifyDevice (CSSM_CSP_HANDLE CSPHandle,
1133 const CSSM_DATA *DeviceCert)
1134 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1135
1136
1137 /* Extensibility Functions for Cryptographic Services */
1138
1139 /* --------------------------------------------------------------------------
1140 CSSM_CSP_PassThrough has been deprecated in 10.7 and later.
1141 There is no alternate API as this call is only needed when calling
1142 CDSA APIs
1143 -------------------------------------------------------------------------- */
1144 CSSM_RETURN CSSMAPI
1145 CSSM_CSP_PassThrough (CSSM_CC_HANDLE CCHandle,
1146 uint32 PassThroughId,
1147 const void *InData,
1148 void **OutData)
1149 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1150
1151
1152 /* Trust Policy Operations */
1153
1154 /* --------------------------------------------------------------------------
1155 CSSM_TP_SubmitCredRequest has been deprecated in 10.7 and later.
1156 There is currently no direct replacement.
1157 -------------------------------------------------------------------------- */
1158 CSSM_RETURN CSSMAPI
1159 CSSM_TP_SubmitCredRequest (CSSM_TP_HANDLE TPHandle,
1160 const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
1161 CSSM_TP_AUTHORITY_REQUEST_TYPE RequestType,
1162 const CSSM_TP_REQUEST_SET *RequestInput,
1163 const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthContext,
1164 sint32 *EstimatedTime,
1165 CSSM_DATA_PTR ReferenceIdentifier)
1166 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1167
1168 /* --------------------------------------------------------------------------
1169 CSSM_TP_RetrieveCredResult has been deprecated in 10.7 and later.
1170 There is currently no direct replacement.
1171 -------------------------------------------------------------------------- */
1172 CSSM_RETURN CSSMAPI
1173 CSSM_TP_RetrieveCredResult (CSSM_TP_HANDLE TPHandle,
1174 const CSSM_DATA *ReferenceIdentifier,
1175 const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
1176 sint32 *EstimatedTime,
1177 CSSM_BOOL *ConfirmationRequired,
1178 CSSM_TP_RESULT_SET_PTR *RetrieveOutput)
1179 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1180
1181 /* --------------------------------------------------------------------------
1182 CSSM_TP_ConfirmCredResult has been deprecated in 10.7 and later.
1183 There is currently no direct replacement.
1184 -------------------------------------------------------------------------- */
1185 CSSM_RETURN CSSMAPI
1186 CSSM_TP_ConfirmCredResult (CSSM_TP_HANDLE TPHandle,
1187 const CSSM_DATA *ReferenceIdentifier,
1188 const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
1189 const CSSM_TP_CONFIRM_RESPONSE *Responses,
1190 const CSSM_TP_AUTHORITY_ID *PreferredAuthority)
1191 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1192
1193 /* --------------------------------------------------------------------------
1194 CSSM_TP_ReceiveConfirmation has been deprecated in 10.7 and later.
1195 There is currently no direct replacement.
1196 -------------------------------------------------------------------------- */
1197 CSSM_RETURN CSSMAPI
1198 CSSM_TP_ReceiveConfirmation (CSSM_TP_HANDLE TPHandle,
1199 const CSSM_DATA *ReferenceIdentifier,
1200 CSSM_TP_CONFIRM_RESPONSE_PTR *Responses,
1201 sint32 *ElapsedTime)
1202 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1203
1204 /* --------------------------------------------------------------------------
1205 CSSM_TP_CertReclaimKey has been deprecated in 10.7 and later.
1206 There is currently no direct replacement.
1207 -------------------------------------------------------------------------- */
1208 CSSM_RETURN CSSMAPI
1209 CSSM_TP_CertReclaimKey (CSSM_TP_HANDLE TPHandle,
1210 const CSSM_CERTGROUP *CertGroup,
1211 uint32 CertIndex,
1212 CSSM_LONG_HANDLE KeyCacheHandle,
1213 CSSM_CSP_HANDLE CSPHandle,
1214 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry)
1215 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1216
1217 /* --------------------------------------------------------------------------
1218 CSSM_TP_CertReclaimAbort has been deprecated in 10.7 and later.
1219 There is currently no direct replacement.
1220 -------------------------------------------------------------------------- */
1221 CSSM_RETURN CSSMAPI
1222 CSSM_TP_CertReclaimAbort (CSSM_TP_HANDLE TPHandle,
1223 CSSM_LONG_HANDLE KeyCacheHandle)
1224 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1225
1226 /* --------------------------------------------------------------------------
1227 CSSM_TP_FormRequest has been deprecated in 10.7 and later.
1228 There is currently no direct replacement.
1229 -------------------------------------------------------------------------- */
1230 CSSM_RETURN CSSMAPI
1231 CSSM_TP_FormRequest (CSSM_TP_HANDLE TPHandle,
1232 const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
1233 CSSM_TP_FORM_TYPE FormType,
1234 CSSM_DATA_PTR BlankForm)
1235 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1236
1237 /* --------------------------------------------------------------------------
1238 CSSM_TP_FormSubmit has been deprecated in 10.7 and later.
1239 There is currently no direct replacement.
1240 -------------------------------------------------------------------------- */
1241 CSSM_RETURN CSSMAPI
1242 CSSM_TP_FormSubmit (CSSM_TP_HANDLE TPHandle,
1243 CSSM_TP_FORM_TYPE FormType,
1244 const CSSM_DATA *Form,
1245 const CSSM_TP_AUTHORITY_ID *ClearanceAuthority,
1246 const CSSM_TP_AUTHORITY_ID *RepresentedAuthority,
1247 CSSM_ACCESS_CREDENTIALS_PTR Credentials)
1248 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1249
1250 /* --------------------------------------------------------------------------
1251 CSSM_TP_CertGroupVerify has been deprecated in 10.7 and later.
1252 There is currently no direct replacement.
1253 -------------------------------------------------------------------------- */
1254 CSSM_RETURN CSSMAPI
1255 CSSM_TP_CertGroupVerify (CSSM_TP_HANDLE TPHandle,
1256 CSSM_CL_HANDLE CLHandle,
1257 CSSM_CSP_HANDLE CSPHandle,
1258 const CSSM_CERTGROUP *CertGroupToBeVerified,
1259 const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
1260 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR VerifyContextResult)
1261 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1262
1263 /* --------------------------------------------------------------------------
1264 CSSM_TP_CertCreateTemplate has been deprecated in 10.7 and later.
1265 There is currently no direct replacement.
1266 -------------------------------------------------------------------------- */
1267 CSSM_RETURN CSSMAPI
1268 CSSM_TP_CertCreateTemplate (CSSM_TP_HANDLE TPHandle,
1269 CSSM_CL_HANDLE CLHandle,
1270 uint32 NumberOfFields,
1271 const CSSM_FIELD *CertFields,
1272 CSSM_DATA_PTR CertTemplate)
1273 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1274
1275 /* --------------------------------------------------------------------------
1276 CSSM_TP_CertGetAllTemplateFields has been deprecated in 10.7 and later.
1277 There is currently no direct replacement.
1278 -------------------------------------------------------------------------- */
1279 CSSM_RETURN CSSMAPI
1280 CSSM_TP_CertGetAllTemplateFields (CSSM_TP_HANDLE TPHandle,
1281 CSSM_CL_HANDLE CLHandle,
1282 const CSSM_DATA *CertTemplate,
1283 uint32 *NumberOfFields,
1284 CSSM_FIELD_PTR *CertFields)
1285 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1286
1287 /* --------------------------------------------------------------------------
1288 CSSM_TP_CertSign has been deprecated in 10.7 and later.
1289 The replacement API is SecSignTransformCreate.
1290 -------------------------------------------------------------------------- */
1291 CSSM_RETURN CSSMAPI
1292 CSSM_TP_CertSign (CSSM_TP_HANDLE TPHandle,
1293 CSSM_CL_HANDLE CLHandle,
1294 CSSM_CC_HANDLE CCHandle,
1295 const CSSM_DATA *CertTemplateToBeSigned,
1296 const CSSM_CERTGROUP *SignerCertGroup,
1297 const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
1298 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
1299 CSSM_DATA_PTR SignedCert)
1300 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1301
1302 /* --------------------------------------------------------------------------
1303 CSSM_TP_CrlVerify has been deprecated in 10.7 and later.
1304 The replacement API is SecVerifyTransformCreate.
1305 -------------------------------------------------------------------------- */
1306 CSSM_RETURN CSSMAPI
1307 CSSM_TP_CrlVerify (CSSM_TP_HANDLE TPHandle,
1308 CSSM_CL_HANDLE CLHandle,
1309 CSSM_CSP_HANDLE CSPHandle,
1310 const CSSM_ENCODED_CRL *CrlToBeVerified,
1311 const CSSM_CERTGROUP *SignerCertGroup,
1312 const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
1313 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult)
1314 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1315
1316 /* --------------------------------------------------------------------------
1317 CSSM_TP_CrlCreateTemplate has been deprecated in 10.7 and later.
1318 There is currently no direct replacement.
1319 -------------------------------------------------------------------------- */
1320 CSSM_RETURN CSSMAPI
1321 CSSM_TP_CrlCreateTemplate (CSSM_TP_HANDLE TPHandle,
1322 CSSM_CL_HANDLE CLHandle,
1323 uint32 NumberOfFields,
1324 const CSSM_FIELD *CrlFields,
1325 CSSM_DATA_PTR NewCrlTemplate)
1326 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1327
1328 /* --------------------------------------------------------------------------
1329 CSSM_TP_CertRevoke has been deprecated in 10.7 and later.
1330 There is currently no direct replacement.
1331 -------------------------------------------------------------------------- */
1332 CSSM_RETURN CSSMAPI
1333 CSSM_TP_CertRevoke (CSSM_TP_HANDLE TPHandle,
1334 CSSM_CL_HANDLE CLHandle,
1335 CSSM_CSP_HANDLE CSPHandle,
1336 const CSSM_DATA *OldCrlTemplate,
1337 const CSSM_CERTGROUP *CertGroupToBeRevoked,
1338 const CSSM_CERTGROUP *RevokerCertGroup,
1339 const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
1340 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
1341 CSSM_TP_CERTCHANGE_REASON Reason,
1342 CSSM_DATA_PTR NewCrlTemplate)
1343 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1344
1345 /* --------------------------------------------------------------------------
1346 CSSM_TP_CertRemoveFromCrlTemplate has been deprecated in 10.7 and later.
1347 There is currently no direct replacement.
1348 -------------------------------------------------------------------------- */
1349 CSSM_RETURN CSSMAPI
1350 CSSM_TP_CertRemoveFromCrlTemplate (CSSM_TP_HANDLE TPHandle,
1351 CSSM_CL_HANDLE CLHandle,
1352 CSSM_CSP_HANDLE CSPHandle,
1353 const CSSM_DATA *OldCrlTemplate,
1354 const CSSM_CERTGROUP *CertGroupToBeRemoved,
1355 const CSSM_CERTGROUP *RevokerCertGroup,
1356 const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
1357 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
1358 CSSM_DATA_PTR NewCrlTemplate)
1359 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1360
1361 /* --------------------------------------------------------------------------
1362 CSSM_TP_CrlSign has been deprecated in 10.7 and later.
1363 The replacement API is SecVerifyTransformCreate.
1364 -------------------------------------------------------------------------- */
1365 CSSM_RETURN CSSMAPI
1366 CSSM_TP_CrlSign (CSSM_TP_HANDLE TPHandle,
1367 CSSM_CL_HANDLE CLHandle,
1368 CSSM_CC_HANDLE CCHandle,
1369 const CSSM_ENCODED_CRL *CrlToBeSigned,
1370 const CSSM_CERTGROUP *SignerCertGroup,
1371 const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
1372 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
1373 CSSM_DATA_PTR SignedCrl)
1374 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1375
1376 /* --------------------------------------------------------------------------
1377 CSSM_TP_ApplyCrlToDb has been deprecated in 10.7 and later.
1378 There is currently no direct replacement.
1379 -------------------------------------------------------------------------- */
1380 CSSM_RETURN CSSMAPI
1381 CSSM_TP_ApplyCrlToDb (CSSM_TP_HANDLE TPHandle,
1382 CSSM_CL_HANDLE CLHandle,
1383 CSSM_CSP_HANDLE CSPHandle,
1384 const CSSM_ENCODED_CRL *CrlToBeApplied,
1385 const CSSM_CERTGROUP *SignerCertGroup,
1386 const CSSM_TP_VERIFY_CONTEXT *ApplyCrlVerifyContext,
1387 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR ApplyCrlVerifyResult)
1388 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1389
1390 /* --------------------------------------------------------------------------
1391 CSSM_TP_CertGroupConstruct has been deprecated in 10.7 and later.
1392 There is currently no direct replacement.
1393 -------------------------------------------------------------------------- */
1394 CSSM_RETURN CSSMAPI
1395 CSSM_TP_CertGroupConstruct (CSSM_TP_HANDLE TPHandle,
1396 CSSM_CL_HANDLE CLHandle,
1397 CSSM_CSP_HANDLE CSPHandle,
1398 const CSSM_DL_DB_LIST *DBList,
1399 const void *ConstructParams,
1400 const CSSM_CERTGROUP *CertGroupFrag,
1401 CSSM_CERTGROUP_PTR *CertGroup)
1402 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1403
1404 /* --------------------------------------------------------------------------
1405 CSSM_TP_CertGroupPrune has been deprecated in 10.7 and later.
1406 There is currently no direct replacement.
1407 -------------------------------------------------------------------------- */
1408 CSSM_RETURN CSSMAPI
1409 CSSM_TP_CertGroupPrune (CSSM_TP_HANDLE TPHandle,
1410 CSSM_CL_HANDLE CLHandle,
1411 const CSSM_DL_DB_LIST *DBList,
1412 const CSSM_CERTGROUP *OrderedCertGroup,
1413 CSSM_CERTGROUP_PTR *PrunedCertGroup)
1414 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1415
1416 /* --------------------------------------------------------------------------
1417 CSSM_TP_CertGroupToTupleGroup has been deprecated in 10.7 and later.
1418 There is currently no direct replacement.
1419 -------------------------------------------------------------------------- */
1420 CSSM_RETURN CSSMAPI
1421 CSSM_TP_CertGroupToTupleGroup (CSSM_TP_HANDLE TPHandle,
1422 CSSM_CL_HANDLE CLHandle,
1423 const CSSM_CERTGROUP *CertGroup,
1424 CSSM_TUPLEGROUP_PTR *TupleGroup)
1425 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1426
1427 /* --------------------------------------------------------------------------
1428 CSSM_TP_TupleGroupToCertGroup has been deprecated in 10.7 and later.
1429 There is currently no direct replacement.
1430 -------------------------------------------------------------------------- */
1431 CSSM_RETURN CSSMAPI
1432 CSSM_TP_TupleGroupToCertGroup (CSSM_TP_HANDLE TPHandle,
1433 CSSM_CL_HANDLE CLHandle,
1434 const CSSM_TUPLEGROUP *TupleGroup,
1435 CSSM_CERTGROUP_PTR *CertTemplates)
1436 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1437
1438 /* --------------------------------------------------------------------------
1439 CSSM_TP_PassThrough has been deprecated in 10.7 and later.
1440 There is no alternate API as this call is only needed when calling
1441 CDSA APIs
1442 -------------------------------------------------------------------------- */
1443 CSSM_RETURN CSSMAPI
1444 CSSM_TP_PassThrough (CSSM_TP_HANDLE TPHandle,
1445 CSSM_CL_HANDLE CLHandle,
1446 CSSM_CC_HANDLE CCHandle,
1447 const CSSM_DL_DB_LIST *DBList,
1448 uint32 PassThroughId,
1449 const void *InputParams,
1450 void **OutputParams)
1451 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1452
1453
1454 /* Authorization Computation Operations */
1455
1456 /* --------------------------------------------------------------------------
1457 CSSM_AC_AuthCompute has been deprecated in 10.7 and later.
1458 Please see the APIs in the SecAccess.h file for a replacement.
1459 -------------------------------------------------------------------------- */
1460 CSSM_RETURN CSSMAPI
1461 CSSM_AC_AuthCompute (CSSM_AC_HANDLE ACHandle,
1462 const CSSM_TUPLEGROUP *BaseAuthorizations,
1463 const CSSM_TUPLEGROUP *Credentials,
1464 uint32 NumberOfRequestors,
1465 const CSSM_LIST *Requestors,
1466 const CSSM_LIST *RequestedAuthorizationPeriod,
1467 const CSSM_LIST *RequestedAuthorization,
1468 CSSM_TUPLEGROUP_PTR AuthorizationResult)
1469 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1470
1471 /* --------------------------------------------------------------------------
1472 CSSM_AC_PassThrough has been deprecated in 10.7 and later.
1473 Please see the APIs in the SecAccess.h file for a replacement.
1474 -------------------------------------------------------------------------- */
1475 CSSM_RETURN CSSMAPI
1476 CSSM_AC_PassThrough (CSSM_AC_HANDLE ACHandle,
1477 CSSM_TP_HANDLE TPHandle,
1478 CSSM_CL_HANDLE CLHandle,
1479 CSSM_CC_HANDLE CCHandle,
1480 const CSSM_DL_DB_LIST *DBList,
1481 uint32 PassThroughId,
1482 const void *InputParams,
1483 void **OutputParams)
1484 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1485
1486
1487 /* Certificate Library Operations */
1488
1489 /* --------------------------------------------------------------------------
1490 CSSM_CL_CertCreateTemplate has been deprecated in 10.7 and later.
1491 There is currently no direct replacement.
1492 -------------------------------------------------------------------------- */
1493 CSSM_RETURN CSSMAPI
1494 CSSM_CL_CertCreateTemplate (CSSM_CL_HANDLE CLHandle,
1495 uint32 NumberOfFields,
1496 const CSSM_FIELD *CertFields,
1497 CSSM_DATA_PTR CertTemplate)
1498 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1499
1500 /* --------------------------------------------------------------------------
1501 CSSM_CL_CertGetAllTemplateFields has been deprecated in 10.7 and later.
1502 There is currently no direct replacement.
1503 -------------------------------------------------------------------------- */
1504 CSSM_RETURN CSSMAPI
1505 CSSM_CL_CertGetAllTemplateFields (CSSM_CL_HANDLE CLHandle,
1506 const CSSM_DATA *CertTemplate,
1507 uint32 *NumberOfFields,
1508 CSSM_FIELD_PTR *CertFields)
1509 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1510
1511 /* --------------------------------------------------------------------------
1512 CSSM_CL_CertSign has been deprecated in 10.7 and later.
1513 There is currently no direct replacement.
1514 -------------------------------------------------------------------------- */
1515 CSSM_RETURN CSSMAPI
1516 CSSM_CL_CertSign (CSSM_CL_HANDLE CLHandle,
1517 CSSM_CC_HANDLE CCHandle,
1518 const CSSM_DATA *CertTemplate,
1519 const CSSM_FIELD *SignScope,
1520 uint32 ScopeSize,
1521 CSSM_DATA_PTR SignedCert)
1522 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1523
1524 /* --------------------------------------------------------------------------
1525 CSSM_CL_CertVerify has been deprecated in 10.7 and later.
1526 There is currently no direct replacement.
1527 -------------------------------------------------------------------------- */
1528 CSSM_RETURN CSSMAPI
1529 CSSM_CL_CertVerify (CSSM_CL_HANDLE CLHandle,
1530 CSSM_CC_HANDLE CCHandle,
1531 const CSSM_DATA *CertToBeVerified,
1532 const CSSM_DATA *SignerCert,
1533 const CSSM_FIELD *VerifyScope,
1534 uint32 ScopeSize)
1535 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1536
1537 /* --------------------------------------------------------------------------
1538 CSSM_CL_CertVerifyWithKey has been deprecated in 10.7 and later.
1539 There is currently no direct replacement.
1540 -------------------------------------------------------------------------- */
1541 CSSM_RETURN CSSMAPI
1542 CSSM_CL_CertVerifyWithKey (CSSM_CL_HANDLE CLHandle,
1543 CSSM_CC_HANDLE CCHandle,
1544 const CSSM_DATA *CertToBeVerified)
1545 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1546
1547 /* --------------------------------------------------------------------------
1548 CSSM_CL_CertVerifyWithKey has been deprecated in 10.7 and later.
1549 This is replaced with the SecCertificateCopyValues API.
1550 -------------------------------------------------------------------------- */
1551 CSSM_RETURN CSSMAPI
1552 CSSM_CL_CertGetFirstFieldValue (CSSM_CL_HANDLE CLHandle,
1553 const CSSM_DATA *Cert,
1554 const CSSM_OID *CertField,
1555 CSSM_HANDLE_PTR ResultsHandle,
1556 uint32 *NumberOfMatchedFields,
1557 CSSM_DATA_PTR *Value)
1558 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1559
1560 /* --------------------------------------------------------------------------
1561 CSSM_CL_CertGetNextFieldValue has been deprecated in 10.7 and later.
1562 This is replaced with the SecCertificateCopyValues API.
1563 -------------------------------------------------------------------------- */
1564 CSSM_RETURN CSSMAPI
1565 CSSM_CL_CertGetNextFieldValue (CSSM_CL_HANDLE CLHandle,
1566 CSSM_HANDLE ResultsHandle,
1567 CSSM_DATA_PTR *Value)
1568 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1569
1570 /* --------------------------------------------------------------------------
1571 CSSM_CL_CertAbortQuery has been deprecated in 10.7 and later.
1572 There is no alternate API as this call is only needed when calling
1573 CDSA APIs.
1574 -------------------------------------------------------------------------- */
1575 CSSM_RETURN CSSMAPI
1576 CSSM_CL_CertAbortQuery (CSSM_CL_HANDLE CLHandle,
1577 CSSM_HANDLE ResultsHandle)
1578 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1579
1580 /* --------------------------------------------------------------------------
1581 CSSM_CL_CertGetKeyInfo has been deprecated in 10.7 and later.
1582 This is replaced with the SecCertificateCopyValues API.
1583 -------------------------------------------------------------------------- */
1584 CSSM_RETURN CSSMAPI
1585 CSSM_CL_CertGetKeyInfo (CSSM_CL_HANDLE CLHandle,
1586 const CSSM_DATA *Cert,
1587 CSSM_KEY_PTR *Key)
1588 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1589
1590 /* --------------------------------------------------------------------------
1591 CSSM_CL_CertGetAllFields has been deprecated in 10.7 and later.
1592 This is replaced with the SecCertificateCopyValues API.
1593 -------------------------------------------------------------------------- */
1594 CSSM_RETURN CSSMAPI
1595 CSSM_CL_CertGetAllFields (CSSM_CL_HANDLE CLHandle,
1596 const CSSM_DATA *Cert,
1597 uint32 *NumberOfFields,
1598 CSSM_FIELD_PTR *CertFields)
1599 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1600
1601 /* --------------------------------------------------------------------------
1602 CSSM_CL_FreeFields has been deprecated in 10.7 and later.
1603 There is no alternate API as this call is only needed when calling
1604 CDSA APIs.
1605 -------------------------------------------------------------------------- */
1606 CSSM_RETURN CSSMAPI
1607 CSSM_CL_FreeFields (CSSM_CL_HANDLE CLHandle,
1608 uint32 NumberOfFields,
1609 CSSM_FIELD_PTR *Fields)
1610 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1611
1612 /* --------------------------------------------------------------------------
1613 CSSM_CL_FreeFieldValue has been deprecated in 10.7 and later.
1614 There is no alternate API as this call is only needed when calling
1615 CDSA APIs.
1616 -------------------------------------------------------------------------- */
1617 CSSM_RETURN CSSMAPI
1618 CSSM_CL_FreeFieldValue (CSSM_CL_HANDLE CLHandle,
1619 const CSSM_OID *CertOrCrlOid,
1620 CSSM_DATA_PTR Value)
1621 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1622
1623 /* --------------------------------------------------------------------------
1624 CSSM_CL_CertCache has been deprecated in 10.7 and later.
1625 There is no alternate API as this call is only needed when calling
1626 CDSA APIs.
1627 -------------------------------------------------------------------------- */
1628 CSSM_RETURN CSSMAPI
1629 CSSM_CL_CertCache (CSSM_CL_HANDLE CLHandle,
1630 const CSSM_DATA *Cert,
1631 CSSM_HANDLE_PTR CertHandle)
1632 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1633
1634 /* --------------------------------------------------------------------------
1635 CSSM_CL_CertGetFirstCachedFieldValue has been deprecated in 10.7 and later.
1636 This is replaced with the SecCertificateCopyValues API
1637 -------------------------------------------------------------------------- */
1638 CSSM_RETURN CSSMAPI
1639 CSSM_CL_CertGetFirstCachedFieldValue (CSSM_CL_HANDLE CLHandle,
1640 CSSM_HANDLE CertHandle,
1641 const CSSM_OID *CertField,
1642 CSSM_HANDLE_PTR ResultsHandle,
1643 uint32 *NumberOfMatchedFields,
1644 CSSM_DATA_PTR *Value)
1645 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1646
1647 /* --------------------------------------------------------------------------
1648 CSSM_CL_CertGetNextCachedFieldValue has been deprecated in 10.7 and later.
1649 This is replaced with the SecCertificateCopyValues API
1650 -------------------------------------------------------------------------- */
1651 CSSM_RETURN CSSMAPI
1652 CSSM_CL_CertGetNextCachedFieldValue (CSSM_CL_HANDLE CLHandle,
1653 CSSM_HANDLE ResultsHandle,
1654 CSSM_DATA_PTR *Value)
1655 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1656
1657 /* --------------------------------------------------------------------------
1658 CSSM_CL_CertAbortCache has been deprecated in 10.7 and later.
1659 There is no alternate API as this call is only needed when calling
1660 CDSA APIs.
1661 -------------------------------------------------------------------------- */
1662 CSSM_RETURN CSSMAPI
1663 CSSM_CL_CertAbortCache (CSSM_CL_HANDLE CLHandle,
1664 CSSM_HANDLE CertHandle)
1665 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1666
1667 /* --------------------------------------------------------------------------
1668 CSSM_CL_CertGroupToSignedBundle has been deprecated in 10.7 and later.
1669 There is no alternate API as this call is only needed when calling
1670 CDSA APIs.
1671 -------------------------------------------------------------------------- */
1672 CSSM_RETURN CSSMAPI
1673 CSSM_CL_CertGroupToSignedBundle (CSSM_CL_HANDLE CLHandle,
1674 CSSM_CC_HANDLE CCHandle,
1675 const CSSM_CERTGROUP *CertGroupToBundle,
1676 const CSSM_CERT_BUNDLE_HEADER *BundleInfo,
1677 CSSM_DATA_PTR SignedBundle)
1678 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1679
1680 /* --------------------------------------------------------------------------
1681 CSSM_CL_CertGroupFromVerifiedBundle has been deprecated in 10.7 and later.
1682 There is no alternate API as this call is only needed when calling
1683 CDSA APIs.
1684 -------------------------------------------------------------------------- */
1685 CSSM_RETURN CSSMAPI
1686 CSSM_CL_CertGroupFromVerifiedBundle (CSSM_CL_HANDLE CLHandle,
1687 CSSM_CC_HANDLE CCHandle,
1688 const CSSM_CERT_BUNDLE *CertBundle,
1689 const CSSM_DATA *SignerCert,
1690 CSSM_CERTGROUP_PTR *CertGroup)
1691 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1692
1693 /* --------------------------------------------------------------------------
1694 CSSM_CL_CertDescribeFormat has been deprecated in 10.7 and later.
1695 There is no alternate API as this call is only needed when calling
1696 CDSA APIs.
1697 -------------------------------------------------------------------------- */
1698 CSSM_RETURN CSSMAPI
1699 CSSM_CL_CertDescribeFormat (CSSM_CL_HANDLE CLHandle,
1700 uint32 *NumberOfFields,
1701 CSSM_OID_PTR *OidList)
1702 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1703
1704 /* --------------------------------------------------------------------------
1705 CSSM_CL_CrlCreateTemplate has been deprecated in 10.7 and later.
1706 There is no alternate API as this call is only needed when calling
1707 CDSA APIs.
1708 -------------------------------------------------------------------------- */
1709 CSSM_RETURN CSSMAPI
1710 CSSM_CL_CrlCreateTemplate (CSSM_CL_HANDLE CLHandle,
1711 uint32 NumberOfFields,
1712 const CSSM_FIELD *CrlTemplate,
1713 CSSM_DATA_PTR NewCrl)
1714 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1715
1716 /* --------------------------------------------------------------------------
1717 CSSM_CL_CrlSetFields has been deprecated in 10.7 and later.
1718 There is no alternate API as this call is only needed when calling
1719 CDSA APIs.
1720 -------------------------------------------------------------------------- */
1721 CSSM_RETURN CSSMAPI
1722 CSSM_CL_CrlSetFields (CSSM_CL_HANDLE CLHandle,
1723 uint32 NumberOfFields,
1724 const CSSM_FIELD *CrlTemplate,
1725 const CSSM_DATA *OldCrl,
1726 CSSM_DATA_PTR ModifiedCrl)
1727 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1728
1729 /* --------------------------------------------------------------------------
1730 CSSM_CL_CrlAddCert has been deprecated in 10.7 and later.
1731 There is currently no direct replacement.
1732 -------------------------------------------------------------------------- */
1733 CSSM_RETURN CSSMAPI
1734 CSSM_CL_CrlAddCert (CSSM_CL_HANDLE CLHandle,
1735 CSSM_CC_HANDLE CCHandle,
1736 const CSSM_DATA *Cert,
1737 uint32 NumberOfFields,
1738 const CSSM_FIELD *CrlEntryFields,
1739 const CSSM_DATA *OldCrl,
1740 CSSM_DATA_PTR NewCrl)
1741 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1742
1743 /* --------------------------------------------------------------------------
1744 CSSM_CL_CrlRemoveCert has been deprecated in 10.7 and later.
1745 There is currently no direct replacement.
1746 -------------------------------------------------------------------------- */
1747 CSSM_RETURN CSSMAPI
1748 CSSM_CL_CrlRemoveCert (CSSM_CL_HANDLE CLHandle,
1749 const CSSM_DATA *Cert,
1750 const CSSM_DATA *OldCrl,
1751 CSSM_DATA_PTR NewCrl)
1752 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1753
1754 /* --------------------------------------------------------------------------
1755 CSSM_CL_CrlSign has been deprecated in 10.7 and later.
1756 The replacement API would be to use the SecSignTransformCreate transform.
1757 -------------------------------------------------------------------------- */
1758 CSSM_RETURN CSSMAPI
1759 CSSM_CL_CrlSign (CSSM_CL_HANDLE CLHandle,
1760 CSSM_CC_HANDLE CCHandle,
1761 const CSSM_DATA *UnsignedCrl,
1762 const CSSM_FIELD *SignScope,
1763 uint32 ScopeSize,
1764 CSSM_DATA_PTR SignedCrl)
1765 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1766
1767 /* --------------------------------------------------------------------------
1768 CSSM_CL_CrlVerify has been deprecated in 10.7 and later.
1769 The replacement API would be to use the SecVerifyTransformCreate transform.
1770 -------------------------------------------------------------------------- */
1771 CSSM_RETURN CSSMAPI
1772 CSSM_CL_CrlVerify (CSSM_CL_HANDLE CLHandle,
1773 CSSM_CC_HANDLE CCHandle,
1774 const CSSM_DATA *CrlToBeVerified,
1775 const CSSM_DATA *SignerCert,
1776 const CSSM_FIELD *VerifyScope,
1777 uint32 ScopeSize)
1778 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1779
1780 /* --------------------------------------------------------------------------
1781 CSSM_CL_CrlVerifyWithKey has been deprecated in 10.7 and later.
1782 The replacement API would be to use the SecVerifyTransformCreate transform.
1783 -------------------------------------------------------------------------- */
1784 CSSM_RETURN CSSMAPI
1785 CSSM_CL_CrlVerifyWithKey (CSSM_CL_HANDLE CLHandle,
1786 CSSM_CC_HANDLE CCHandle,
1787 const CSSM_DATA *CrlToBeVerified)
1788 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1789
1790 /* --------------------------------------------------------------------------
1791 CSSM_CL_IsCertInCrl has been deprecated in 10.7 and later.
1792 There is no alternate API as this call is only needed when calling
1793 CDSA APIs.
1794 -------------------------------------------------------------------------- */
1795 CSSM_RETURN CSSMAPI
1796 CSSM_CL_IsCertInCrl (CSSM_CL_HANDLE CLHandle,
1797 const CSSM_DATA *Cert,
1798 const CSSM_DATA *Crl,
1799 CSSM_BOOL *CertFound)
1800 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1801
1802 /* --------------------------------------------------------------------------
1803 CSSM_CL_CrlGetFirstFieldValue has been deprecated in 10.7 and later.
1804 This is replaced with the SecCertificateCopyValues API
1805 -------------------------------------------------------------------------- */
1806 CSSM_RETURN CSSMAPI
1807 CSSM_CL_CrlGetFirstFieldValue (CSSM_CL_HANDLE CLHandle,
1808 const CSSM_DATA *Crl,
1809 const CSSM_OID *CrlField,
1810 CSSM_HANDLE_PTR ResultsHandle,
1811 uint32 *NumberOfMatchedFields,
1812 CSSM_DATA_PTR *Value)
1813 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1814
1815 /* --------------------------------------------------------------------------
1816 CSSM_CL_CrlGetNextFieldValue has been deprecated in 10.7 and later.
1817 This is replaced with the SecCertificateCopyValues API
1818 -------------------------------------------------------------------------- */
1819 CSSM_RETURN CSSMAPI
1820 CSSM_CL_CrlGetNextFieldValue (CSSM_CL_HANDLE CLHandle,
1821 CSSM_HANDLE ResultsHandle,
1822 CSSM_DATA_PTR *Value)
1823 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1824
1825 /* --------------------------------------------------------------------------
1826 CSSM_CL_CrlAbortQuery has been deprecated in 10.7 and later.
1827 There is no alternate API as this call is only needed when calling
1828 CDSA APIs.
1829 -------------------------------------------------------------------------- */
1830 CSSM_RETURN CSSMAPI
1831 CSSM_CL_CrlAbortQuery (CSSM_CL_HANDLE CLHandle,
1832 CSSM_HANDLE ResultsHandle)
1833 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1834
1835 /* --------------------------------------------------------------------------
1836 CSSM_CL_CrlGetAllFields has been deprecated in 10.7 and later.
1837 This is replaced with the SecCertificateCopyValues API
1838 -------------------------------------------------------------------------- */
1839 CSSM_RETURN CSSMAPI
1840 CSSM_CL_CrlGetAllFields (CSSM_CL_HANDLE CLHandle,
1841 const CSSM_DATA *Crl,
1842 uint32 *NumberOfCrlFields,
1843 CSSM_FIELD_PTR *CrlFields)
1844 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1845
1846 /* --------------------------------------------------------------------------
1847 CSSM_CL_CrlCache has been deprecated in 10.7 and later.
1848 There is no alternate API as this call is only needed when calling
1849 CDSA APIs.
1850 -------------------------------------------------------------------------- */
1851 CSSM_RETURN CSSMAPI
1852 CSSM_CL_CrlCache (CSSM_CL_HANDLE CLHandle,
1853 const CSSM_DATA *Crl,
1854 CSSM_HANDLE_PTR CrlHandle)
1855 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1856
1857 /* --------------------------------------------------------------------------
1858 CSSM_CL_IsCertInCachedCrl has been deprecated in 10.7 and later.
1859 There is no alternate API as this call is only needed when calling
1860 CDSA APIs.
1861 -------------------------------------------------------------------------- */
1862 CSSM_RETURN CSSMAPI
1863 CSSM_CL_IsCertInCachedCrl (CSSM_CL_HANDLE CLHandle,
1864 const CSSM_DATA *Cert,
1865 CSSM_HANDLE CrlHandle,
1866 CSSM_BOOL *CertFound,
1867 CSSM_DATA_PTR CrlRecordIndex)
1868 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1869
1870 /* --------------------------------------------------------------------------
1871 CSSM_CL_CrlGetFirstCachedFieldValue has been deprecated in 10.7 and later.
1872 This is replaced with the SecCertificateCopyValues API
1873 -------------------------------------------------------------------------- */
1874 CSSM_RETURN CSSMAPI
1875 CSSM_CL_CrlGetFirstCachedFieldValue (CSSM_CL_HANDLE CLHandle,
1876 CSSM_HANDLE CrlHandle,
1877 const CSSM_DATA *CrlRecordIndex,
1878 const CSSM_OID *CrlField,
1879 CSSM_HANDLE_PTR ResultsHandle,
1880 uint32 *NumberOfMatchedFields,
1881 CSSM_DATA_PTR *Value)
1882 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1883
1884 /* --------------------------------------------------------------------------
1885 CSSM_CL_CrlGetNextCachedFieldValue has been deprecated in 10.7 and later.
1886 This is replaced with the SecCertificateCopyValues API
1887 -------------------------------------------------------------------------- */
1888 CSSM_RETURN CSSMAPI
1889 CSSM_CL_CrlGetNextCachedFieldValue (CSSM_CL_HANDLE CLHandle,
1890 CSSM_HANDLE ResultsHandle,
1891 CSSM_DATA_PTR *Value)
1892 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1893
1894 /* --------------------------------------------------------------------------
1895 CSSM_CL_CrlGetAllCachedRecordFields has been deprecated in 10.7 and later.
1896 This is replaced with the SecCertificateCopyValues API
1897 -------------------------------------------------------------------------- */
1898 CSSM_RETURN CSSMAPI
1899 CSSM_CL_CrlGetAllCachedRecordFields (CSSM_CL_HANDLE CLHandle,
1900 CSSM_HANDLE CrlHandle,
1901 const CSSM_DATA *CrlRecordIndex,
1902 uint32 *NumberOfFields,
1903 CSSM_FIELD_PTR *CrlFields)
1904 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1905
1906 /* --------------------------------------------------------------------------
1907 CSSM_CL_CrlAbortCache has been deprecated in 10.7 and later.
1908 There is no alternate API as this call is only needed when calling
1909 CDSA APIs.
1910 -------------------------------------------------------------------------- */
1911 CSSM_RETURN CSSMAPI
1912 CSSM_CL_CrlAbortCache (CSSM_CL_HANDLE CLHandle,
1913 CSSM_HANDLE CrlHandle)
1914 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1915
1916 /* --------------------------------------------------------------------------
1917 CSSM_CL_CrlDescribeFormat has been deprecated in 10.7 and later.
1918 There is no alternate API as this call is only needed when calling
1919 CDSA APIs.
1920 -------------------------------------------------------------------------- */
1921 CSSM_RETURN CSSMAPI
1922 CSSM_CL_CrlDescribeFormat (CSSM_CL_HANDLE CLHandle,
1923 uint32 *NumberOfFields,
1924 CSSM_OID_PTR *OidList)
1925 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1926
1927 /* --------------------------------------------------------------------------
1928 CSSM_CL_PassThrough has been deprecated in 10.7 and later.
1929 There is no alternate API as this call is only needed when calling
1930 CDSA APIs.
1931 -------------------------------------------------------------------------- */
1932 CSSM_RETURN CSSMAPI
1933 CSSM_CL_PassThrough (CSSM_CL_HANDLE CLHandle,
1934 CSSM_CC_HANDLE CCHandle,
1935 uint32 PassThroughId,
1936 const void *InputParams,
1937 void **OutputParams)
1938 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1939
1940
1941 /* Data Storage Library Operations */
1942
1943 /* --------------------------------------------------------------------------
1944 CSSM_DL_DbOpen has been deprecated in 10.7 and later.
1945 The replacement API is SecKeychainOpen
1946 -------------------------------------------------------------------------- */
1947 CSSM_RETURN CSSMAPI
1948 CSSM_DL_DbOpen (CSSM_DL_HANDLE DLHandle,
1949 const char *DbName,
1950 const CSSM_NET_ADDRESS *DbLocation,
1951 CSSM_DB_ACCESS_TYPE AccessRequest,
1952 const CSSM_ACCESS_CREDENTIALS *AccessCred,
1953 const void *OpenParameters,
1954 CSSM_DB_HANDLE *DbHandle)
1955 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1956
1957 /* --------------------------------------------------------------------------
1958 CSSM_DL_DbClose has been deprecated in 10.7 and later. There is no alternate
1959 API as this call is only needed when calling CDSA APIs
1960 -------------------------------------------------------------------------- */
1961 CSSM_RETURN CSSMAPI
1962 CSSM_DL_DbClose (CSSM_DL_DB_HANDLE DLDBHandle)
1963 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1964
1965 /* --------------------------------------------------------------------------
1966 CSSM_DL_DbCreate has been deprecated in 10.7 and later.
1967 The replacement API is SecKeychainCreate
1968 -------------------------------------------------------------------------- */
1969 CSSM_RETURN CSSMAPI
1970 CSSM_DL_DbCreate (CSSM_DL_HANDLE DLHandle,
1971 const char *DbName,
1972 const CSSM_NET_ADDRESS *DbLocation,
1973 const CSSM_DBINFO *DBInfo,
1974 CSSM_DB_ACCESS_TYPE AccessRequest,
1975 const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
1976 const void *OpenParameters,
1977 CSSM_DB_HANDLE *DbHandle)
1978 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1979
1980 /* --------------------------------------------------------------------------
1981 CSSM_DL_DbDelete has been deprecated in 10.7 and later.
1982 The replacement API is SecKeychainDelete
1983 -------------------------------------------------------------------------- */
1984 CSSM_RETURN CSSMAPI
1985 CSSM_DL_DbDelete (CSSM_DL_HANDLE DLHandle,
1986 const char *DbName,
1987 const CSSM_NET_ADDRESS *DbLocation,
1988 const CSSM_ACCESS_CREDENTIALS *AccessCred)
1989 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
1990
1991 /* --------------------------------------------------------------------------
1992 CSSM_DL_CreateRelation has been deprecated in 10.7 and later.
1993 There is no alternate API as this call is only needed when calling
1994 CDSA APIs
1995 -------------------------------------------------------------------------- */
1996 CSSM_RETURN CSSMAPI
1997 CSSM_DL_CreateRelation (CSSM_DL_DB_HANDLE DLDBHandle,
1998 CSSM_DB_RECORDTYPE RelationID,
1999 const char *RelationName,
2000 uint32 NumberOfAttributes,
2001 const CSSM_DB_SCHEMA_ATTRIBUTE_INFO *pAttributeInfo,
2002 uint32 NumberOfIndexes,
2003 const CSSM_DB_SCHEMA_INDEX_INFO *pIndexInfo)
2004 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2005
2006 /* --------------------------------------------------------------------------
2007 CSSM_DL_DestroyRelation has been deprecated in 10.7 and later.
2008 There is no alternate API as this call is only needed when calling
2009 CDSA APIs
2010 -------------------------------------------------------------------------- */
2011 CSSM_RETURN CSSMAPI
2012 CSSM_DL_DestroyRelation (CSSM_DL_DB_HANDLE DLDBHandle,
2013 CSSM_DB_RECORDTYPE RelationID)
2014 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2015
2016 /* --------------------------------------------------------------------------
2017 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2018 The replacement API is SecKeychainUnlock
2019 -------------------------------------------------------------------------- */
2020 CSSM_RETURN CSSMAPI
2021 CSSM_DL_Authenticate (CSSM_DL_DB_HANDLE DLDBHandle,
2022 CSSM_DB_ACCESS_TYPE AccessRequest,
2023 const CSSM_ACCESS_CREDENTIALS *AccessCred)
2024 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2025
2026 /* --------------------------------------------------------------------------
2027 CSSM_DL_GetDbAcl has been deprecated in 10.7 and later.
2028 There is no alternate API as this call is only needed when calling
2029 CDSA APIs
2030 -------------------------------------------------------------------------- */
2031 CSSM_RETURN CSSMAPI
2032 CSSM_DL_GetDbAcl (CSSM_DL_DB_HANDLE DLDBHandle,
2033 const CSSM_STRING *SelectionTag,
2034 uint32 *NumberOfAclInfos,
2035 CSSM_ACL_ENTRY_INFO_PTR *AclInfos)
2036 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2037
2038 /* --------------------------------------------------------------------------
2039 CSSM_DL_ChangeDbAcl has been deprecated in 10.7 and later.
2040 There is no alternate API as this call is only needed when calling
2041 CDSA APIs
2042 -------------------------------------------------------------------------- */
2043 CSSM_RETURN CSSMAPI
2044 CSSM_DL_ChangeDbAcl (CSSM_DL_DB_HANDLE DLDBHandle,
2045 const CSSM_ACCESS_CREDENTIALS *AccessCred,
2046 const CSSM_ACL_EDIT *AclEdit)
2047 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2048
2049 /* --------------------------------------------------------------------------
2050 CSSM_DL_GetDbOwner has been deprecated in 10.7 and later.
2051 There is no alternate API as this call is only needed when calling
2052 CDSA APIs
2053 -------------------------------------------------------------------------- */
2054 CSSM_RETURN CSSMAPI
2055 CSSM_DL_GetDbOwner (CSSM_DL_DB_HANDLE DLDBHandle,
2056 CSSM_ACL_OWNER_PROTOTYPE_PTR Owner)
2057 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2058
2059 /* --------------------------------------------------------------------------
2060 CSSM_DL_ChangeDbOwner has been deprecated in 10.7 and later.
2061 There is no alternate API as this call is only needed when calling
2062 CDSA APIs
2063 -------------------------------------------------------------------------- */
2064 CSSM_RETURN CSSMAPI
2065 CSSM_DL_ChangeDbOwner (CSSM_DL_DB_HANDLE DLDBHandle,
2066 const CSSM_ACCESS_CREDENTIALS *AccessCred,
2067 const CSSM_ACL_OWNER_PROTOTYPE *NewOwner)
2068 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2069
2070 /* --------------------------------------------------------------------------
2071 CSSM_DL_GetDbNames has been deprecated in 10.7 and later.
2072 There is no alternate API as this call is only needed when calling
2073 CDSA APIs
2074 -------------------------------------------------------------------------- */
2075 CSSM_RETURN CSSMAPI
2076 CSSM_DL_GetDbNames (CSSM_DL_HANDLE DLHandle,
2077 CSSM_NAME_LIST_PTR *NameList)
2078 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2079
2080 /* --------------------------------------------------------------------------
2081 CSSM_DL_GetDbNameFromHandle has been deprecated in 10.7 and later.
2082 There is no alternate API as this call is only needed when calling
2083 CDSA APIs
2084 -------------------------------------------------------------------------- */
2085 CSSM_RETURN CSSMAPI
2086 CSSM_DL_GetDbNameFromHandle (CSSM_DL_DB_HANDLE DLDBHandle,
2087 char **DbName)
2088 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2089
2090 /* --------------------------------------------------------------------------
2091 CSSM_DL_FreeNameList has been deprecated in 10.7 and later.
2092 There is no alternate API as this call is only needed when calling
2093 CDSA APIs
2094 -------------------------------------------------------------------------- */
2095 CSSM_RETURN CSSMAPI
2096 CSSM_DL_FreeNameList (CSSM_DL_HANDLE DLHandle,
2097 CSSM_NAME_LIST_PTR NameList)
2098 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2099
2100 /* --------------------------------------------------------------------------
2101 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2102 The replacement API are SecKeychainAddInternetPassword,
2103 SecKeychainAddGenericPassword, SecItemAdd
2104 -------------------------------------------------------------------------- */
2105 CSSM_RETURN CSSMAPI
2106 CSSM_DL_DataInsert (CSSM_DL_DB_HANDLE DLDBHandle,
2107 CSSM_DB_RECORDTYPE RecordType,
2108 const CSSM_DB_RECORD_ATTRIBUTE_DATA *Attributes,
2109 const CSSM_DATA *Data,
2110 CSSM_DB_UNIQUE_RECORD_PTR *UniqueId)
2111 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2112
2113 /* --------------------------------------------------------------------------
2114 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2115 The replacement API is SecItemDelete
2116 -------------------------------------------------------------------------- */
2117 CSSM_RETURN CSSMAPI
2118 CSSM_DL_DataDelete (CSSM_DL_DB_HANDLE DLDBHandle,
2119 const CSSM_DB_UNIQUE_RECORD *UniqueRecordIdentifier)
2120 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2121
2122 /* --------------------------------------------------------------------------
2123 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2124 The replacement API is SecItemUpdate
2125 -------------------------------------------------------------------------- */
2126 CSSM_RETURN CSSMAPI
2127 CSSM_DL_DataModify (CSSM_DL_DB_HANDLE DLDBHandle,
2128 CSSM_DB_RECORDTYPE RecordType,
2129 CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier,
2130 const CSSM_DB_RECORD_ATTRIBUTE_DATA *AttributesToBeModified,
2131 const CSSM_DATA *DataToBeModified,
2132 CSSM_DB_MODIFY_MODE ModifyMode)
2133 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2134
2135 /* --------------------------------------------------------------------------
2136 CSSM_DL_DataGetFirst has been deprecated in 10.7 and later.
2137 There is no alternate API as this call is only needed when calling
2138 CDSA APIs. SecItemCopyMatching may return multiple items if specified to
2139 do so. The user could then retrieve the first in the list of items.
2140 -------------------------------------------------------------------------- */
2141 CSSM_RETURN CSSMAPI
2142 CSSM_DL_DataGetFirst (CSSM_DL_DB_HANDLE DLDBHandle,
2143 const CSSM_QUERY *Query,
2144 CSSM_HANDLE_PTR ResultsHandle,
2145 CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
2146 CSSM_DATA_PTR Data,
2147 CSSM_DB_UNIQUE_RECORD_PTR *UniqueId)
2148 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2149
2150 /* --------------------------------------------------------------------------
2151 CSSM_DL_DataGetNext has been deprecated in 10.7 and later.
2152 There is no alternate API as this call is only needed when calling
2153 CDSA APIs. SecItemCopyMatching may return multiple items if specified to
2154 do so. The user could then retrieve the items in the list
2155 -------------------------------------------------------------------------- */
2156 CSSM_RETURN CSSMAPI
2157 CSSM_DL_DataGetNext (CSSM_DL_DB_HANDLE DLDBHandle,
2158 CSSM_HANDLE ResultsHandle,
2159 CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
2160 CSSM_DATA_PTR Data,
2161 CSSM_DB_UNIQUE_RECORD_PTR *UniqueId)
2162 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2163
2164 /* --------------------------------------------------------------------------
2165 CSSM_DL_DataAbortQuery has been deprecated in 10.7 and later.
2166 There is no alternate API as this call is only needed when calling
2167 CDSA APIs
2168 -------------------------------------------------------------------------- */
2169 CSSM_RETURN CSSMAPI
2170 CSSM_DL_DataAbortQuery (CSSM_DL_DB_HANDLE DLDBHandle,
2171 CSSM_HANDLE ResultsHandle)
2172 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2173
2174 /* --------------------------------------------------------------------------
2175 CSSM_DL_DataGetFromUniqueRecordId has been deprecated in 10.7 and later.
2176 There is no alternate API as this call is only needed when calling
2177 CDSA APIs
2178 -------------------------------------------------------------------------- */
2179 CSSM_RETURN CSSMAPI
2180 CSSM_DL_DataGetFromUniqueRecordId (CSSM_DL_DB_HANDLE DLDBHandle,
2181 const CSSM_DB_UNIQUE_RECORD *UniqueRecord,
2182 CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
2183 CSSM_DATA_PTR Data)
2184 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2185
2186 /* --------------------------------------------------------------------------
2187 CSSM_DL_FreeUniqueRecord has been deprecated in 10.7 and later.
2188 There is no alternate API as this call is only needed when calling
2189 CDSA APIs
2190 -------------------------------------------------------------------------- */
2191 CSSM_RETURN CSSMAPI
2192 CSSM_DL_FreeUniqueRecord (CSSM_DL_DB_HANDLE DLDBHandle,
2193 CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord)
2194 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2195
2196 /* --------------------------------------------------------------------------
2197 CSSM_DL_PassThrough has been deprecated in 10.7 and later.
2198 There is no alternate API as this call is only needed when calling
2199 CDSA APIs
2200 -------------------------------------------------------------------------- */
2201 CSSM_RETURN CSSMAPI
2202 CSSM_DL_PassThrough (CSSM_DL_DB_HANDLE DLDBHandle,
2203 uint32 PassThroughId,
2204 const void *InputParams,
2205 void **OutputParams)
2206 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
2207
2208 #ifdef __cplusplus
2209 }
2210 #endif
2211
2212 #endif /* _CSSMAPI_H_ */