2 * Copyright (c) 1999-2001,2004,2011,2014 Apple Inc. All Rights Reserved.
4 * @APPLE_LICENSE_HEADER_START@
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
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.
21 * @APPLE_LICENSE_HEADER_END@
23 * cssmapi.h -- Application Programmers Interfaces for CSSM
29 #include <Security/cssmtype.h>
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 ========================================================================== */
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 -------------------------------------------------------------------------- */
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
,
54 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
62 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
90 CSSM_Introduce (const CSSM_GUID
*ModuleID
,
91 CSSM_KEY_HIERARCHY KeyHierarchy
)
92 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
99 CSSM_Unintroduce (const CSSM_GUID
*ModuleID
)
100 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
107 CSSM_ModuleAttach (const CSSM_GUID
*ModuleGuid
,
108 const CSSM_VERSION
*Version
,
109 const CSSM_API_MEMORY_FUNCS
*MemoryFuncs
,
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
;
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 -------------------------------------------------------------------------- */
125 CSSM_ModuleDetach (CSSM_MODULE_HANDLE ModuleHandle
)
126 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
133 CSSM_SetPrivilege (CSSM_PRIVILEGE Privilege
)
134 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
141 CSSM_GetPrivilege (CSSM_PRIVILEGE
*Privilege
)
142 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
148 -------------------------------------------------------------------------- */
150 CSSM_GetModuleGUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle
,
151 CSSM_GUID_PTR ModuleGUID
)
152 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
158 -------------------------------------------------------------------------- */
160 CSSM_GetSubserviceUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle
,
161 CSSM_SUBSERVICE_UID_PTR SubserviceUID
)
162 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
168 -------------------------------------------------------------------------- */
170 CSSM_ListAttachedModuleManagers (uint32
*NumberOfModuleManagers
,
171 CSSM_GUID_PTR ModuleManagerGuids
)
172 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
178 -------------------------------------------------------------------------- */
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
;
185 /* Cryptographic Context Operations */
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 -------------------------------------------------------------------------- */
193 CSSM_CSP_CreateSignatureContext (CSSM_CSP_HANDLE CSPHandle
,
194 CSSM_ALGORITHMS AlgorithmID
,
195 const CSSM_ACCESS_CREDENTIALS
*AccessCred
,
197 CSSM_CC_HANDLE
*NewContextHandle
)
198 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
206 CSSM_CSP_CreateSymmetricContext (CSSM_CSP_HANDLE CSPHandle
,
207 CSSM_ALGORITHMS AlgorithmID
,
208 CSSM_ENCRYPT_MODE Mode
,
209 const CSSM_ACCESS_CREDENTIALS
*AccessCred
,
211 const CSSM_DATA
*InitVector
,
212 CSSM_PADDING Padding
,
214 CSSM_CC_HANDLE
*NewContextHandle
)
215 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
234 CSSM_CSP_CreateMacContext (CSSM_CSP_HANDLE CSPHandle
,
235 CSSM_ALGORITHMS AlgorithmID
,
237 CSSM_CC_HANDLE
*NewContextHandle
)
238 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
246 CSSM_CSP_CreateRandomGenContext (CSSM_CSP_HANDLE CSPHandle
,
247 CSSM_ALGORITHMS AlgorithmID
,
248 const CSSM_CRYPTO_DATA
*Seed
,
250 CSSM_CC_HANDLE
*NewContextHandle
)
251 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
260 CSSM_CSP_CreateAsymmetricContext (CSSM_CSP_HANDLE CSPHandle
,
261 CSSM_ALGORITHMS AlgorithmID
,
262 const CSSM_ACCESS_CREDENTIALS
*AccessCred
,
264 CSSM_PADDING Padding
,
265 CSSM_CC_HANDLE
*NewContextHandle
)
266 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
268 /* --------------------------------------------------------------------------
269 CSSM_CSP_CreateDeriveKeyContext has been deprecated in 10.7 and later.
270 The replacement for this API would be the SecKeyDeriveFromPassword API
272 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
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
;
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
307 -------------------------------------------------------------------------- */
309 CSSM_CSP_CreatePassThroughContext (CSSM_CSP_HANDLE CSPHandle
,
311 CSSM_CC_HANDLE
*NewContextHandle
)
312 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
318 -------------------------------------------------------------------------- */
320 CSSM_GetContext (CSSM_CC_HANDLE CCHandle
,
321 CSSM_CONTEXT_PTR
*Context
)
322 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
328 -------------------------------------------------------------------------- */
330 CSSM_FreeContext (CSSM_CONTEXT_PTR Context
)
331 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
337 -------------------------------------------------------------------------- */
339 CSSM_SetContext (CSSM_CC_HANDLE CCHandle
,
340 const CSSM_CONTEXT
*Context
)
341 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
347 -------------------------------------------------------------------------- */
349 CSSM_DeleteContext (CSSM_CC_HANDLE CCHandle
)
350 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
356 -------------------------------------------------------------------------- */
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
;
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
367 -------------------------------------------------------------------------- */
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
;
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
378 -------------------------------------------------------------------------- */
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
;
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
391 -------------------------------------------------------------------------- */
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
;
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
403 -------------------------------------------------------------------------- */
405 CSSM_CSP_Logout (CSSM_CSP_HANDLE CSPHandle
)
406 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
412 -------------------------------------------------------------------------- */
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
;
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
424 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
441 CSSM_GetKeyAcl (CSSM_CSP_HANDLE CSPHandle
,
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
;
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 -------------------------------------------------------------------------- */
454 CSSM_ChangeKeyAcl (CSSM_CSP_HANDLE CSPHandle
,
455 const CSSM_ACCESS_CREDENTIALS
*AccessCred
,
456 const CSSM_ACL_EDIT
*AclEdit
,
458 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
471 CSSM_GetKeyOwner (CSSM_CSP_HANDLE CSPHandle
,
473 CSSM_ACL_OWNER_PROTOTYPE_PTR Owner
)
474 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
482 CSSM_ChangeKeyOwner (CSSM_CSP_HANDLE CSPHandle
,
483 const CSSM_ACCESS_CREDENTIALS
*AccessCred
,
485 const CSSM_ACL_OWNER_PROTOTYPE
*NewOwner
)
486 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
492 -------------------------------------------------------------------------- */
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
;
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
502 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
515 CSSM_SignData (CSSM_CC_HANDLE CCHandle
,
516 const CSSM_DATA
*DataBufs
,
518 CSSM_ALGORITHMS DigestAlgorithm
,
519 CSSM_DATA_PTR Signature
)
520 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
528 CSSM_SignDataInit (CSSM_CC_HANDLE CCHandle
)
529 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
537 CSSM_SignDataUpdate (CSSM_CC_HANDLE CCHandle
,
538 const CSSM_DATA
*DataBufs
,
540 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
548 CSSM_SignDataFinal (CSSM_CC_HANDLE CCHandle
,
549 CSSM_DATA_PTR Signature
)
550 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
558 CSSM_VerifyData (CSSM_CC_HANDLE CCHandle
,
559 const CSSM_DATA
*DataBufs
,
561 CSSM_ALGORITHMS DigestAlgorithm
,
562 const CSSM_DATA
*Signature
)
563 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
571 CSSM_VerifyDataInit (CSSM_CC_HANDLE CCHandle
)
572 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
580 CSSM_VerifyDataUpdate (CSSM_CC_HANDLE CCHandle
,
581 const CSSM_DATA
*DataBufs
,
583 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
591 CSSM_VerifyDataFinal (CSSM_CC_HANDLE CCHandle
,
592 const CSSM_DATA
*Signature
)
593 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
601 CSSM_DigestData (CSSM_CC_HANDLE CCHandle
,
602 const CSSM_DATA
*DataBufs
,
604 CSSM_DATA_PTR Digest
)
605 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
613 CSSM_DigestDataInit (CSSM_CC_HANDLE CCHandle
)
614 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
622 CSSM_DigestDataUpdate (CSSM_CC_HANDLE CCHandle
,
623 const CSSM_DATA
*DataBufs
,
625 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
633 CSSM_DigestDataClone (CSSM_CC_HANDLE CCHandle
,
634 CSSM_CC_HANDLE
*ClonednewCCHandle
)
635 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
643 CSSM_DigestDataFinal (CSSM_CC_HANDLE CCHandle
,
644 CSSM_DATA_PTR Digest
)
645 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
653 CSSM_GenerateMac (CSSM_CC_HANDLE CCHandle
,
654 const CSSM_DATA
*DataBufs
,
657 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
665 CSSM_GenerateMacInit (CSSM_CC_HANDLE CCHandle
)
666 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
674 CSSM_GenerateMacUpdate (CSSM_CC_HANDLE CCHandle
,
675 const CSSM_DATA
*DataBufs
,
677 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
685 CSSM_GenerateMacFinal (CSSM_CC_HANDLE CCHandle
,
687 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
695 CSSM_VerifyMac (CSSM_CC_HANDLE CCHandle
,
696 const CSSM_DATA
*DataBufs
,
698 const CSSM_DATA
*Mac
)
699 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
707 CSSM_VerifyMacInit (CSSM_CC_HANDLE CCHandle
)
708 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
716 CSSM_VerifyMacUpdate (CSSM_CC_HANDLE CCHandle
,
717 const CSSM_DATA
*DataBufs
,
719 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
727 CSSM_VerifyMacFinal (CSSM_CC_HANDLE CCHandle
,
728 const CSSM_DATA
*Mac
)
729 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
731 /* --------------------------------------------------------------------------
732 CSSM_QuerySize has been deprecated in 10.7 and later.
733 Given that transforms buffer data into queues, this functionality is no
735 -------------------------------------------------------------------------- */
737 CSSM_QuerySize (CSSM_CC_HANDLE CCHandle
,
739 uint32 QuerySizeCount
,
740 CSSM_QUERY_SIZE_DATA_PTR DataBlockSizes
)
741 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
781 CSSM_EncryptDataInit (CSSM_CC_HANDLE CCHandle
)
782 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
790 CSSM_EncryptDataInitP (CSSM_CC_HANDLE CCHandle
,
791 CSSM_PRIVILEGE Privilege
)
792 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
814 CSSM_EncryptDataFinal (CSSM_CC_HANDLE CCHandle
,
815 CSSM_DATA_PTR RemData
)
816 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
855 CSSM_DecryptDataInit (CSSM_CC_HANDLE CCHandle
)
856 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
864 CSSM_DecryptDataInitP (CSSM_CC_HANDLE CCHandle
,
865 CSSM_PRIVILEGE Privilege
)
866 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
888 CSSM_DecryptDataFinal (CSSM_CC_HANDLE CCHandle
,
889 CSSM_DATA_PTR RemData
)
890 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
896 -------------------------------------------------------------------------- */
898 CSSM_QueryKeySizeInBits (CSSM_CSP_HANDLE CSPHandle
,
899 CSSM_CC_HANDLE CCHandle
,
901 CSSM_KEY_SIZE_PTR KeySize
)
902 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
904 /* --------------------------------------------------------------------------
905 CSSM_GenerateKey has been deprecated in 10.7 and later.
906 To create a symmetrical key call SecKeyGenerateSymmetric.
907 -------------------------------------------------------------------------- */
909 CSSM_GenerateKey (CSSM_CC_HANDLE CCHandle
,
912 const CSSM_DATA
*KeyLabel
,
913 const CSSM_RESOURCE_CONTROL_CONTEXT
*CredAndAclEntry
,
915 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
917 /* --------------------------------------------------------------------------
918 CSSM_GenerateKeyP has been deprecated in 10.7 and later.
919 To create a symmetrical key call SecKeyGenerateSymmetric.
920 -------------------------------------------------------------------------- */
922 CSSM_GenerateKeyP (CSSM_CC_HANDLE CCHandle
,
925 const CSSM_DATA
*KeyLabel
,
926 const CSSM_RESOURCE_CONTROL_CONTEXT
*CredAndAclEntry
,
928 CSSM_PRIVILEGE Privilege
)
929 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
931 /* --------------------------------------------------------------------------
932 CSSM_GenerateKeyPair has been deprecated in 10.7 and later.
933 To create an asymmetrical key call SecKeyGeneratePair.
934 -------------------------------------------------------------------------- */
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
;
948 /* --------------------------------------------------------------------------
949 CSSM_GenerateKeyPairP has been deprecated in 10.7 and later.
950 To create an asymmetrical key call SecKeyGeneratePair.
951 -------------------------------------------------------------------------- */
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
;
966 /* --------------------------------------------------------------------------
967 CSSM_GenerateRandom has been deprecated in 10.7 and later.
968 To get random data call SecRandomCopyBytes
969 -------------------------------------------------------------------------- */
971 CSSM_GenerateRandom (CSSM_CC_HANDLE CCHandle
,
972 CSSM_DATA_PTR RandomNumber
)
973 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
985 /* --------------------------------------------------------------------------
986 CSSM_WrapKey has been deprecated in 10.7 and later.
987 This is replaced with the SecKeyWrapSymmetric API.
988 -------------------------------------------------------------------------- */
990 CSSM_WrapKey (CSSM_CC_HANDLE CCHandle
,
991 const CSSM_ACCESS_CREDENTIALS
*AccessCred
,
993 const CSSM_DATA
*DescriptiveData
,
994 CSSM_WRAP_KEY_PTR WrappedKey
)
995 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
997 /* --------------------------------------------------------------------------
998 CSSM_UnwrapKey has been deprecated in 10.7 and later.
999 This is replaced with the SecKeyUnwrapSymmetric API.
1000 -------------------------------------------------------------------------- */
1002 CSSM_UnwrapKey (CSSM_CC_HANDLE CCHandle
,
1003 const CSSM_KEY
*PublicKey
,
1004 const CSSM_WRAP_KEY
*WrappedKey
,
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
;
1013 /* --------------------------------------------------------------------------
1014 CSSM_WrapKeyP has been deprecated in 10.7 and later.
1015 This is replaced with the SecKeyWrapSymmetric API.
1016 -------------------------------------------------------------------------- */
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
;
1026 /* --------------------------------------------------------------------------
1027 CSSM_WrapKeyP has been deprecated in 10.7 and later.
1028 This is replaced with the SecKeyUnwrapSymmetric API.
1029 -------------------------------------------------------------------------- */
1031 CSSM_UnwrapKeyP (CSSM_CC_HANDLE CCHandle
,
1032 const CSSM_KEY
*PublicKey
,
1033 const CSSM_WRAP_KEY
*WrappedKey
,
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
;
1043 /* --------------------------------------------------------------------------
1044 CSSM_DeriveKey has been deprecated in 10.7 and later.
1045 This is replaced with the SecKeyDeriveFromPassword API.
1046 -------------------------------------------------------------------------- */
1048 CSSM_DeriveKey (CSSM_CC_HANDLE CCHandle
,
1049 CSSM_DATA_PTR Param
,
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
;
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 -------------------------------------------------------------------------- */
1064 CSSM_FreeKey (CSSM_CSP_HANDLE CSPHandle
,
1065 const CSSM_ACCESS_CREDENTIALS
*AccessCred
,
1066 CSSM_KEY_PTR KeyPtr
,
1068 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
1074 -------------------------------------------------------------------------- */
1076 CSSM_GenerateAlgorithmParams (CSSM_CC_HANDLE CCHandle
,
1078 CSSM_DATA_PTR Param
)
1079 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1082 /* Miscellaneous Functions for Cryptographic Services */
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
1088 -------------------------------------------------------------------------- */
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
;
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
1099 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
1112 CSSM_RetrieveUniqueId (CSSM_CSP_HANDLE CSPHandle
,
1113 CSSM_DATA_PTR UniqueID
)
1114 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
1120 -------------------------------------------------------------------------- */
1122 CSSM_RetrieveCounter (CSSM_CSP_HANDLE CSPHandle
,
1123 CSSM_DATA_PTR Counter
)
1124 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
1130 -------------------------------------------------------------------------- */
1132 CSSM_VerifyDevice (CSSM_CSP_HANDLE CSPHandle
,
1133 const CSSM_DATA
*DeviceCert
)
1134 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1137 /* Extensibility Functions for Cryptographic Services */
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
1143 -------------------------------------------------------------------------- */
1145 CSSM_CSP_PassThrough (CSSM_CC_HANDLE CCHandle
,
1146 uint32 PassThroughId
,
1149 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1152 /* Trust Policy Operations */
1154 /* --------------------------------------------------------------------------
1155 CSSM_TP_SubmitCredRequest has been deprecated in 10.7 and later.
1156 There is currently no direct replacement.
1157 -------------------------------------------------------------------------- */
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
;
1168 /* --------------------------------------------------------------------------
1169 CSSM_TP_RetrieveCredResult has been deprecated in 10.7 and later.
1170 There is currently no direct replacement.
1171 -------------------------------------------------------------------------- */
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
;
1181 /* --------------------------------------------------------------------------
1182 CSSM_TP_ConfirmCredResult has been deprecated in 10.7 and later.
1183 There is currently no direct replacement.
1184 -------------------------------------------------------------------------- */
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
;
1193 /* --------------------------------------------------------------------------
1194 CSSM_TP_ReceiveConfirmation has been deprecated in 10.7 and later.
1195 There is currently no direct replacement.
1196 -------------------------------------------------------------------------- */
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
;
1204 /* --------------------------------------------------------------------------
1205 CSSM_TP_CertReclaimKey has been deprecated in 10.7 and later.
1206 There is currently no direct replacement.
1207 -------------------------------------------------------------------------- */
1209 CSSM_TP_CertReclaimKey (CSSM_TP_HANDLE TPHandle
,
1210 const CSSM_CERTGROUP
*CertGroup
,
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
;
1217 /* --------------------------------------------------------------------------
1218 CSSM_TP_CertReclaimAbort has been deprecated in 10.7 and later.
1219 There is currently no direct replacement.
1220 -------------------------------------------------------------------------- */
1222 CSSM_TP_CertReclaimAbort (CSSM_TP_HANDLE TPHandle
,
1223 CSSM_LONG_HANDLE KeyCacheHandle
)
1224 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1226 /* --------------------------------------------------------------------------
1227 CSSM_TP_FormRequest has been deprecated in 10.7 and later.
1228 There is currently no direct replacement.
1229 -------------------------------------------------------------------------- */
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
;
1237 /* --------------------------------------------------------------------------
1238 CSSM_TP_FormSubmit has been deprecated in 10.7 and later.
1239 There is currently no direct replacement.
1240 -------------------------------------------------------------------------- */
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
;
1250 /* --------------------------------------------------------------------------
1251 CSSM_TP_CertGroupVerify has been deprecated in 10.7 and later.
1252 There is currently no direct replacement.
1253 -------------------------------------------------------------------------- */
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
;
1263 /* --------------------------------------------------------------------------
1264 CSSM_TP_CertCreateTemplate has been deprecated in 10.7 and later.
1265 There is currently no direct replacement.
1266 -------------------------------------------------------------------------- */
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
;
1275 /* --------------------------------------------------------------------------
1276 CSSM_TP_CertGetAllTemplateFields has been deprecated in 10.7 and later.
1277 There is currently no direct replacement.
1278 -------------------------------------------------------------------------- */
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
;
1287 /* --------------------------------------------------------------------------
1288 CSSM_TP_CertSign has been deprecated in 10.7 and later.
1289 The replacement API is SecSignTransformCreate.
1290 -------------------------------------------------------------------------- */
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
;
1302 /* --------------------------------------------------------------------------
1303 CSSM_TP_CrlVerify has been deprecated in 10.7 and later.
1304 The replacement API is SecVerifyTransformCreate.
1305 -------------------------------------------------------------------------- */
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
;
1316 /* --------------------------------------------------------------------------
1317 CSSM_TP_CrlCreateTemplate has been deprecated in 10.7 and later.
1318 There is currently no direct replacement.
1319 -------------------------------------------------------------------------- */
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
;
1328 /* --------------------------------------------------------------------------
1329 CSSM_TP_CertRevoke has been deprecated in 10.7 and later.
1330 There is currently no direct replacement.
1331 -------------------------------------------------------------------------- */
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
;
1345 /* --------------------------------------------------------------------------
1346 CSSM_TP_CertRemoveFromCrlTemplate has been deprecated in 10.7 and later.
1347 There is currently no direct replacement.
1348 -------------------------------------------------------------------------- */
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
;
1361 /* --------------------------------------------------------------------------
1362 CSSM_TP_CrlSign has been deprecated in 10.7 and later.
1363 The replacement API is SecVerifyTransformCreate.
1364 -------------------------------------------------------------------------- */
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
;
1376 /* --------------------------------------------------------------------------
1377 CSSM_TP_ApplyCrlToDb has been deprecated in 10.7 and later.
1378 There is currently no direct replacement.
1379 -------------------------------------------------------------------------- */
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
;
1390 /* --------------------------------------------------------------------------
1391 CSSM_TP_CertGroupConstruct has been deprecated in 10.7 and later.
1392 There is currently no direct replacement.
1393 -------------------------------------------------------------------------- */
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
;
1404 /* --------------------------------------------------------------------------
1405 CSSM_TP_CertGroupPrune has been deprecated in 10.7 and later.
1406 There is currently no direct replacement.
1407 -------------------------------------------------------------------------- */
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
;
1416 /* --------------------------------------------------------------------------
1417 CSSM_TP_CertGroupToTupleGroup has been deprecated in 10.7 and later.
1418 There is currently no direct replacement.
1419 -------------------------------------------------------------------------- */
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
;
1427 /* --------------------------------------------------------------------------
1428 CSSM_TP_TupleGroupToCertGroup has been deprecated in 10.7 and later.
1429 There is currently no direct replacement.
1430 -------------------------------------------------------------------------- */
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
;
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
1442 -------------------------------------------------------------------------- */
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
;
1454 /* Authorization Computation Operations */
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 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
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
;
1487 /* Certificate Library Operations */
1489 /* --------------------------------------------------------------------------
1490 CSSM_CL_CertCreateTemplate has been deprecated in 10.7 and later.
1491 There is currently no direct replacement.
1492 -------------------------------------------------------------------------- */
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
;
1500 /* --------------------------------------------------------------------------
1501 CSSM_CL_CertGetAllTemplateFields has been deprecated in 10.7 and later.
1502 There is currently no direct replacement.
1503 -------------------------------------------------------------------------- */
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
;
1511 /* --------------------------------------------------------------------------
1512 CSSM_CL_CertSign has been deprecated in 10.7 and later.
1513 There is currently no direct replacement.
1514 -------------------------------------------------------------------------- */
1516 CSSM_CL_CertSign (CSSM_CL_HANDLE CLHandle
,
1517 CSSM_CC_HANDLE CCHandle
,
1518 const CSSM_DATA
*CertTemplate
,
1519 const CSSM_FIELD
*SignScope
,
1521 CSSM_DATA_PTR SignedCert
)
1522 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1524 /* --------------------------------------------------------------------------
1525 CSSM_CL_CertVerify has been deprecated in 10.7 and later.
1526 There is currently no direct replacement.
1527 -------------------------------------------------------------------------- */
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
,
1535 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1537 /* --------------------------------------------------------------------------
1538 CSSM_CL_CertVerifyWithKey has been deprecated in 10.7 and later.
1539 There is currently no direct replacement.
1540 -------------------------------------------------------------------------- */
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
;
1547 /* --------------------------------------------------------------------------
1548 CSSM_CL_CertVerifyWithKey has been deprecated in 10.7 and later.
1549 This is replaced with the SecCertificateCopyValues API.
1550 -------------------------------------------------------------------------- */
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
;
1560 /* --------------------------------------------------------------------------
1561 CSSM_CL_CertGetNextFieldValue has been deprecated in 10.7 and later.
1562 This is replaced with the SecCertificateCopyValues API.
1563 -------------------------------------------------------------------------- */
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
;
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
1574 -------------------------------------------------------------------------- */
1576 CSSM_CL_CertAbortQuery (CSSM_CL_HANDLE CLHandle
,
1577 CSSM_HANDLE ResultsHandle
)
1578 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1580 /* --------------------------------------------------------------------------
1581 CSSM_CL_CertGetKeyInfo has been deprecated in 10.7 and later.
1582 This is replaced with the SecCertificateCopyValues API.
1583 -------------------------------------------------------------------------- */
1585 CSSM_CL_CertGetKeyInfo (CSSM_CL_HANDLE CLHandle
,
1586 const CSSM_DATA
*Cert
,
1588 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1590 /* --------------------------------------------------------------------------
1591 CSSM_CL_CertGetAllFields has been deprecated in 10.7 and later.
1592 This is replaced with the SecCertificateCopyValues API.
1593 -------------------------------------------------------------------------- */
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
;
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
1605 -------------------------------------------------------------------------- */
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
;
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
1616 -------------------------------------------------------------------------- */
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
;
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
1627 -------------------------------------------------------------------------- */
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
;
1634 /* --------------------------------------------------------------------------
1635 CSSM_CL_CertGetFirstCachedFieldValue has been deprecated in 10.7 and later.
1636 This is replaced with the SecCertificateCopyValues API
1637 -------------------------------------------------------------------------- */
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
;
1647 /* --------------------------------------------------------------------------
1648 CSSM_CL_CertGetNextCachedFieldValue has been deprecated in 10.7 and later.
1649 This is replaced with the SecCertificateCopyValues API
1650 -------------------------------------------------------------------------- */
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
;
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
1661 -------------------------------------------------------------------------- */
1663 CSSM_CL_CertAbortCache (CSSM_CL_HANDLE CLHandle
,
1664 CSSM_HANDLE CertHandle
)
1665 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
1671 -------------------------------------------------------------------------- */
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
;
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
1684 -------------------------------------------------------------------------- */
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
;
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
1697 -------------------------------------------------------------------------- */
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
;
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
1708 -------------------------------------------------------------------------- */
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
;
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
1720 -------------------------------------------------------------------------- */
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
;
1729 /* --------------------------------------------------------------------------
1730 CSSM_CL_CrlAddCert has been deprecated in 10.7 and later.
1731 There is currently no direct replacement.
1732 -------------------------------------------------------------------------- */
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
;
1743 /* --------------------------------------------------------------------------
1744 CSSM_CL_CrlRemoveCert has been deprecated in 10.7 and later.
1745 There is currently no direct replacement.
1746 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
1759 CSSM_CL_CrlSign (CSSM_CL_HANDLE CLHandle
,
1760 CSSM_CC_HANDLE CCHandle
,
1761 const CSSM_DATA
*UnsignedCrl
,
1762 const CSSM_FIELD
*SignScope
,
1764 CSSM_DATA_PTR SignedCrl
)
1765 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
,
1778 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
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
;
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
1794 -------------------------------------------------------------------------- */
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
;
1802 /* --------------------------------------------------------------------------
1803 CSSM_CL_CrlGetFirstFieldValue has been deprecated in 10.7 and later.
1804 This is replaced with the SecCertificateCopyValues API
1805 -------------------------------------------------------------------------- */
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
;
1815 /* --------------------------------------------------------------------------
1816 CSSM_CL_CrlGetNextFieldValue has been deprecated in 10.7 and later.
1817 This is replaced with the SecCertificateCopyValues API
1818 -------------------------------------------------------------------------- */
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
;
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
1829 -------------------------------------------------------------------------- */
1831 CSSM_CL_CrlAbortQuery (CSSM_CL_HANDLE CLHandle
,
1832 CSSM_HANDLE ResultsHandle
)
1833 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1835 /* --------------------------------------------------------------------------
1836 CSSM_CL_CrlGetAllFields has been deprecated in 10.7 and later.
1837 This is replaced with the SecCertificateCopyValues API
1838 -------------------------------------------------------------------------- */
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
;
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
1850 -------------------------------------------------------------------------- */
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
;
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
1861 -------------------------------------------------------------------------- */
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
;
1870 /* --------------------------------------------------------------------------
1871 CSSM_CL_CrlGetFirstCachedFieldValue has been deprecated in 10.7 and later.
1872 This is replaced with the SecCertificateCopyValues API
1873 -------------------------------------------------------------------------- */
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
;
1884 /* --------------------------------------------------------------------------
1885 CSSM_CL_CrlGetNextCachedFieldValue has been deprecated in 10.7 and later.
1886 This is replaced with the SecCertificateCopyValues API
1887 -------------------------------------------------------------------------- */
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
;
1894 /* --------------------------------------------------------------------------
1895 CSSM_CL_CrlGetAllCachedRecordFields has been deprecated in 10.7 and later.
1896 This is replaced with the SecCertificateCopyValues API
1897 -------------------------------------------------------------------------- */
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
;
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
1910 -------------------------------------------------------------------------- */
1912 CSSM_CL_CrlAbortCache (CSSM_CL_HANDLE CLHandle
,
1913 CSSM_HANDLE CrlHandle
)
1914 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
1920 -------------------------------------------------------------------------- */
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
;
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
1931 -------------------------------------------------------------------------- */
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
;
1941 /* Data Storage Library Operations */
1943 /* --------------------------------------------------------------------------
1944 CSSM_DL_DbOpen has been deprecated in 10.7 and later.
1945 The replacement API is SecKeychainOpen
1946 -------------------------------------------------------------------------- */
1948 CSSM_DL_DbOpen (CSSM_DL_HANDLE DLHandle
,
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
;
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 -------------------------------------------------------------------------- */
1962 CSSM_DL_DbClose (CSSM_DL_DB_HANDLE DLDBHandle
)
1963 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
1965 /* --------------------------------------------------------------------------
1966 CSSM_DL_DbCreate has been deprecated in 10.7 and later.
1967 The replacement API is SecKeychainCreate
1968 -------------------------------------------------------------------------- */
1970 CSSM_DL_DbCreate (CSSM_DL_HANDLE DLHandle
,
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
;
1980 /* --------------------------------------------------------------------------
1981 CSSM_DL_DbDelete has been deprecated in 10.7 and later.
1982 The replacement API is SecKeychainDelete
1983 -------------------------------------------------------------------------- */
1985 CSSM_DL_DbDelete (CSSM_DL_HANDLE DLHandle
,
1987 const CSSM_NET_ADDRESS
*DbLocation
,
1988 const CSSM_ACCESS_CREDENTIALS
*AccessCred
)
1989 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
1995 -------------------------------------------------------------------------- */
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
;
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
2010 -------------------------------------------------------------------------- */
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
;
2016 /* --------------------------------------------------------------------------
2017 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2018 The replacement API is SecKeychainUnlock
2019 -------------------------------------------------------------------------- */
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
;
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
2030 -------------------------------------------------------------------------- */
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
;
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
2042 -------------------------------------------------------------------------- */
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
;
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
2053 -------------------------------------------------------------------------- */
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
;
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
2063 -------------------------------------------------------------------------- */
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
;
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
2074 -------------------------------------------------------------------------- */
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
;
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
2084 -------------------------------------------------------------------------- */
2086 CSSM_DL_GetDbNameFromHandle (CSSM_DL_DB_HANDLE DLDBHandle
,
2088 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
2094 -------------------------------------------------------------------------- */
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
;
2100 /* --------------------------------------------------------------------------
2101 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2102 The replacement API are SecKeychainAddInternetPassword,
2103 SecKeychainAddGenericPassword, SecItemAdd
2104 -------------------------------------------------------------------------- */
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
;
2113 /* --------------------------------------------------------------------------
2114 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2115 The replacement API is SecItemDelete
2116 -------------------------------------------------------------------------- */
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
;
2122 /* --------------------------------------------------------------------------
2123 CSSM_DL_Authenticate has been deprecated in 10.7 and later.
2124 The replacement API is SecItemUpdate
2125 -------------------------------------------------------------------------- */
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
;
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 -------------------------------------------------------------------------- */
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
,
2147 CSSM_DB_UNIQUE_RECORD_PTR
*UniqueId
)
2148 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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 -------------------------------------------------------------------------- */
2157 CSSM_DL_DataGetNext (CSSM_DL_DB_HANDLE DLDBHandle
,
2158 CSSM_HANDLE ResultsHandle
,
2159 CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes
,
2161 CSSM_DB_UNIQUE_RECORD_PTR
*UniqueId
)
2162 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
2168 -------------------------------------------------------------------------- */
2170 CSSM_DL_DataAbortQuery (CSSM_DL_DB_HANDLE DLDBHandle
,
2171 CSSM_HANDLE ResultsHandle
)
2172 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
2178 -------------------------------------------------------------------------- */
2180 CSSM_DL_DataGetFromUniqueRecordId (CSSM_DL_DB_HANDLE DLDBHandle
,
2181 const CSSM_DB_UNIQUE_RECORD
*UniqueRecord
,
2182 CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes
,
2184 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
;
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
2190 -------------------------------------------------------------------------- */
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
;
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
2200 -------------------------------------------------------------------------- */
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
;
2212 #endif /* _CSSMAPI_H_ */