use core::ffi::*;
use crate::*;
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_Init(
version: *const CSSM_VERSION,
scope: CSSM_PRIVILEGE_SCOPE,
caller_guid: *const CSSM_GUID,
key_hierarchy: CSSM_KEY_HIERARCHY,
pvc_policy: *mut CSSM_PVC_MODE,
reserved: *const c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_Terminate() -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_ModuleLoad(
module_guid: *const CSSM_GUID,
key_hierarchy: CSSM_KEY_HIERARCHY,
app_notify_callback: CSSM_API_ModuleEventHandler,
app_notify_callback_ctx: *mut c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_ModuleUnload(
module_guid: *const CSSM_GUID,
app_notify_callback: CSSM_API_ModuleEventHandler,
app_notify_callback_ctx: *mut c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_Introduce(
module_id: *const CSSM_GUID,
key_hierarchy: CSSM_KEY_HIERARCHY,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_Unintroduce(module_id: *const CSSM_GUID) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_ModuleAttach(
module_guid: *const CSSM_GUID,
version: *const CSSM_VERSION,
memory_funcs: *const CSSM_API_MEMORY_FUNCS,
subservice_id: uint32,
sub_service_type: CSSM_SERVICE_TYPE,
attach_flags: CSSM_ATTACH_FLAGS,
key_hierarchy: CSSM_KEY_HIERARCHY,
function_table: *mut CSSM_FUNC_NAME_ADDR,
num_function_table: uint32,
reserved: *const c_void,
new_module_handle: CSSM_MODULE_HANDLE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_ModuleDetach(module_handle: CSSM_MODULE_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_SetPrivilege(privilege: CSSM_PRIVILEGE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GetPrivilege(privilege: *mut CSSM_PRIVILEGE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GetModuleGUIDFromHandle(
module_handle: CSSM_MODULE_HANDLE,
module_guid: CSSM_GUID_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GetSubserviceUIDFromHandle(
module_handle: CSSM_MODULE_HANDLE,
subservice_uid: CSSM_SUBSERVICE_UID_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_ListAttachedModuleManagers(
number_of_module_managers: *mut uint32,
module_manager_guids: CSSM_GUID_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GetAPIMemoryFunctions(
add_in_handle: CSSM_MODULE_HANDLE,
app_memory_funcs: CSSM_API_MEMORY_FUNCS_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateSignatureContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key: *const CSSM_KEY,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateSymmetricContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
mode: CSSM_ENCRYPT_MODE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key: *const CSSM_KEY,
init_vector: *const SecAsn1Item,
padding: CSSM_PADDING,
reserved: *mut c_void,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateDigestContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateMacContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
key: *const CSSM_KEY,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateRandomGenContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
seed: *const CSSM_CRYPTO_DATA,
length: CSSM_SIZE,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateAsymmetricContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key: *const CSSM_KEY,
padding: CSSM_PADDING,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateDeriveKeyContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
derive_key_type: CSSM_KEY_TYPE,
derive_key_length_in_bits: uint32,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
base_key: *const CSSM_KEY,
iteration_count: uint32,
salt: *const SecAsn1Item,
seed: *const CSSM_CRYPTO_DATA,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreateKeyGenContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
key_size_in_bits: uint32,
seed: *const CSSM_CRYPTO_DATA,
salt: *const SecAsn1Item,
start_date: *const CSSM_DATE,
end_date: *const CSSM_DATE,
params: *const SecAsn1Item,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_CreatePassThroughContext(
csp_handle: CSSM_CSP_HANDLE,
key: *const CSSM_KEY,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmkrapi",
feature = "cssmtype"
))]
#[deprecated]
pub fn CSSM_GetContext(
cc_handle: CSSM_CC_HANDLE,
context: *mut CSSM_CONTEXT_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmkrapi",
feature = "cssmtype"
))]
#[deprecated]
pub fn CSSM_FreeContext(context: CSSM_CONTEXT_PTR) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmkrapi",
feature = "cssmtype"
))]
#[deprecated]
pub fn CSSM_SetContext(cc_handle: CSSM_CC_HANDLE, context: *const CSSM_CONTEXT) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DeleteContext(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmkrapi",
feature = "cssmtype"
))]
#[deprecated]
pub fn CSSM_GetContextAttribute(
context: *const CSSM_CONTEXT,
attribute_type: uint32,
context_attribute: *mut CSSM_CONTEXT_ATTRIBUTE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmkrapi",
feature = "cssmtype"
))]
#[deprecated]
pub fn CSSM_UpdateContextAttributes(
cc_handle: CSSM_CC_HANDLE,
number_of_attributes: uint32,
context_attributes: *const CSSM_CONTEXT_ATTRIBUTE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmkrapi",
feature = "cssmtype"
))]
#[deprecated]
pub fn CSSM_DeleteContextAttributes(
cc_handle: CSSM_CC_HANDLE,
number_of_attributes: uint32,
context_attributes: *const CSSM_CONTEXT_ATTRIBUTE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_Login(
csp_handle: CSSM_CSP_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
login_name: *const SecAsn1Item,
reserved: *const c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_Logout(csp_handle: CSSM_CSP_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_GetLoginAcl(
csp_handle: CSSM_CSP_HANDLE,
selection_tag: *const CSSM_STRING,
number_of_acl_infos: *mut uint32,
acl_infos: *mut CSSM_ACL_ENTRY_INFO_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_ChangeLoginAcl(
csp_handle: CSSM_CSP_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
acl_edit: *const CSSM_ACL_EDIT,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GetKeyAcl(
csp_handle: CSSM_CSP_HANDLE,
key: *const CSSM_KEY,
selection_tag: *const CSSM_STRING,
number_of_acl_infos: *mut uint32,
acl_infos: *mut CSSM_ACL_ENTRY_INFO_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_ChangeKeyAcl(
csp_handle: CSSM_CSP_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
acl_edit: *const CSSM_ACL_EDIT,
key: *const CSSM_KEY,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GetKeyOwner(
csp_handle: CSSM_CSP_HANDLE,
key: *const CSSM_KEY,
owner: CSSM_ACL_OWNER_PROTOTYPE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_ChangeKeyOwner(
csp_handle: CSSM_CSP_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key: *const CSSM_KEY,
new_owner: *const CSSM_ACL_OWNER_PROTOTYPE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_GetLoginOwner(
csp_handle: CSSM_CSP_HANDLE,
owner: CSSM_ACL_OWNER_PROTOTYPE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_ChangeLoginOwner(
csp_handle: CSSM_CSP_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
new_owner: *const CSSM_ACL_OWNER_PROTOTYPE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_SignData(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
digest_algorithm: CSSM_ALGORITHMS,
signature: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_SignDataInit(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_SignDataUpdate(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_SignDataFinal(cc_handle: CSSM_CC_HANDLE, signature: CSSM_DATA_PTR) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyData(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
digest_algorithm: CSSM_ALGORITHMS,
signature: *const SecAsn1Item,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyDataInit(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyDataUpdate(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyDataFinal(
cc_handle: CSSM_CC_HANDLE,
signature: *const SecAsn1Item,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DigestData(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
digest: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DigestDataInit(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DigestDataUpdate(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DigestDataClone(
cc_handle: CSSM_CC_HANDLE,
clonednew_cc_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DigestDataFinal(cc_handle: CSSM_CC_HANDLE, digest: CSSM_DATA_PTR) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateMac(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
mac: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateMacInit(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateMacUpdate(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateMacFinal(cc_handle: CSSM_CC_HANDLE, mac: CSSM_DATA_PTR) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyMac(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
mac: *const SecAsn1Item,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyMacInit(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyMacUpdate(
cc_handle: CSSM_CC_HANDLE,
data_bufs: *const SecAsn1Item,
data_buf_count: uint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyMacFinal(cc_handle: CSSM_CC_HANDLE, mac: *const SecAsn1Item) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_QuerySize(
cc_handle: CSSM_CC_HANDLE,
encrypt: CSSM_BOOL,
query_size_count: uint32,
data_block_sizes: CSSM_QUERY_SIZE_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_EncryptData(
cc_handle: CSSM_CC_HANDLE,
clear_bufs: *const SecAsn1Item,
clear_buf_count: uint32,
cipher_bufs: CSSM_DATA_PTR,
cipher_buf_count: uint32,
bytes_encrypted: *mut CSSM_SIZE,
rem_data: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_EncryptDataP(
cc_handle: CSSM_CC_HANDLE,
clear_bufs: *const SecAsn1Item,
clear_buf_count: uint32,
cipher_bufs: CSSM_DATA_PTR,
cipher_buf_count: uint32,
bytes_encrypted: *mut CSSM_SIZE,
rem_data: CSSM_DATA_PTR,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_EncryptDataInit(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_EncryptDataInitP(
cc_handle: CSSM_CC_HANDLE,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_EncryptDataUpdate(
cc_handle: CSSM_CC_HANDLE,
clear_bufs: *const SecAsn1Item,
clear_buf_count: uint32,
cipher_bufs: CSSM_DATA_PTR,
cipher_buf_count: uint32,
bytes_encrypted: *mut CSSM_SIZE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_EncryptDataFinal(cc_handle: CSSM_CC_HANDLE, rem_data: CSSM_DATA_PTR)
-> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DecryptData(
cc_handle: CSSM_CC_HANDLE,
cipher_bufs: *const SecAsn1Item,
cipher_buf_count: uint32,
clear_bufs: CSSM_DATA_PTR,
clear_buf_count: uint32,
bytes_decrypted: *mut CSSM_SIZE,
rem_data: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DecryptDataP(
cc_handle: CSSM_CC_HANDLE,
cipher_bufs: *const SecAsn1Item,
cipher_buf_count: uint32,
clear_bufs: CSSM_DATA_PTR,
clear_buf_count: uint32,
bytes_decrypted: *mut CSSM_SIZE,
rem_data: CSSM_DATA_PTR,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DecryptDataInit(cc_handle: CSSM_CC_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DecryptDataInitP(
cc_handle: CSSM_CC_HANDLE,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DecryptDataUpdate(
cc_handle: CSSM_CC_HANDLE,
cipher_bufs: *const SecAsn1Item,
cipher_buf_count: uint32,
clear_bufs: CSSM_DATA_PTR,
clear_buf_count: uint32,
bytes_decrypted: *mut CSSM_SIZE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DecryptDataFinal(cc_handle: CSSM_CC_HANDLE, rem_data: CSSM_DATA_PTR)
-> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_QueryKeySizeInBits(
csp_handle: CSSM_CSP_HANDLE,
cc_handle: CSSM_CC_HANDLE,
key: *const CSSM_KEY,
key_size: CSSM_KEY_SIZE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateKey(
cc_handle: CSSM_CC_HANDLE,
key_usage: uint32,
key_attr: uint32,
key_label: *const SecAsn1Item,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
key: CSSM_KEY_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateKeyP(
cc_handle: CSSM_CC_HANDLE,
key_usage: uint32,
key_attr: uint32,
key_label: *const SecAsn1Item,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
key: CSSM_KEY_PTR,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateKeyPair(
cc_handle: CSSM_CC_HANDLE,
public_key_usage: uint32,
public_key_attr: uint32,
public_key_label: *const SecAsn1Item,
public_key: CSSM_KEY_PTR,
private_key_usage: uint32,
private_key_attr: uint32,
private_key_label: *const SecAsn1Item,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
private_key: CSSM_KEY_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateKeyPairP(
cc_handle: CSSM_CC_HANDLE,
public_key_usage: uint32,
public_key_attr: uint32,
public_key_label: *const SecAsn1Item,
public_key: CSSM_KEY_PTR,
private_key_usage: uint32,
private_key_attr: uint32,
private_key_label: *const SecAsn1Item,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
private_key: CSSM_KEY_PTR,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateRandom(
cc_handle: CSSM_CC_HANDLE,
random_number: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_ObtainPrivateKeyFromPublicKey(
csp_handle: CSSM_CSP_HANDLE,
public_key: *const CSSM_KEY,
private_key: CSSM_KEY_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_WrapKey(
cc_handle: CSSM_CC_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key: *const CSSM_KEY,
descriptive_data: *const SecAsn1Item,
wrapped_key: CSSM_WRAP_KEY_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_UnwrapKey(
cc_handle: CSSM_CC_HANDLE,
public_key: *const CSSM_KEY,
wrapped_key: *const CSSM_WRAP_KEY,
key_usage: uint32,
key_attr: uint32,
key_label: *const SecAsn1Item,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
unwrapped_key: CSSM_KEY_PTR,
descriptive_data: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_WrapKeyP(
cc_handle: CSSM_CC_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key: *const CSSM_KEY,
descriptive_data: *const SecAsn1Item,
wrapped_key: CSSM_WRAP_KEY_PTR,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_UnwrapKeyP(
cc_handle: CSSM_CC_HANDLE,
public_key: *const CSSM_KEY,
wrapped_key: *const CSSM_WRAP_KEY,
key_usage: uint32,
key_attr: uint32,
key_label: *const SecAsn1Item,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
unwrapped_key: CSSM_KEY_PTR,
descriptive_data: CSSM_DATA_PTR,
privilege: CSSM_PRIVILEGE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DeriveKey(
cc_handle: CSSM_CC_HANDLE,
param: CSSM_DATA_PTR,
key_usage: uint32,
key_attr: uint32,
key_label: *const SecAsn1Item,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
derived_key: CSSM_KEY_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_FreeKey(
csp_handle: CSSM_CSP_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key_ptr: CSSM_KEY_PTR,
delete: CSSM_BOOL,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GenerateAlgorithmParams(
cc_handle: CSSM_CC_HANDLE,
param_bits: uint32,
param: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_GetOperationalStatistics(
csp_handle: CSSM_CSP_HANDLE,
statistics: *mut CSSM_CSP_OPERATIONAL_STATISTICS,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_GetTimeValue(
csp_handle: CSSM_CSP_HANDLE,
time_algorithm: CSSM_ALGORITHMS,
time_data: *mut SecAsn1Item,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_RetrieveUniqueId(
csp_handle: CSSM_CSP_HANDLE,
unique_id: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_RetrieveCounter(csp_handle: CSSM_CSP_HANDLE, counter: CSSM_DATA_PTR)
-> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_VerifyDevice(
csp_handle: CSSM_CSP_HANDLE,
device_cert: *const SecAsn1Item,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CSP_PassThrough(
cc_handle: CSSM_CC_HANDLE,
pass_through_id: uint32,
in_data: *const c_void,
out_data: *mut *mut c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_SubmitCredRequest(
tp_handle: CSSM_TP_HANDLE,
preferred_authority: *const CSSM_TP_AUTHORITY_ID,
request_type: CSSM_TP_AUTHORITY_REQUEST_TYPE,
request_input: *const CSSM_TP_REQUEST_SET,
caller_auth_context: *const CSSM_TP_CALLERAUTH_CONTEXT,
estimated_time: *mut sint32,
reference_identifier: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_RetrieveCredResult(
tp_handle: CSSM_TP_HANDLE,
reference_identifier: *const SecAsn1Item,
caller_auth_credentials: *const CSSM_TP_CALLERAUTH_CONTEXT,
estimated_time: *mut sint32,
confirmation_required: *mut CSSM_BOOL,
retrieve_output: *mut CSSM_TP_RESULT_SET_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_ConfirmCredResult(
tp_handle: CSSM_TP_HANDLE,
reference_identifier: *const SecAsn1Item,
caller_auth_credentials: *const CSSM_TP_CALLERAUTH_CONTEXT,
responses: *const CSSM_TP_CONFIRM_RESPONSE,
preferred_authority: *const CSSM_TP_AUTHORITY_ID,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_ReceiveConfirmation(
tp_handle: CSSM_TP_HANDLE,
reference_identifier: *const SecAsn1Item,
responses: *mut CSSM_TP_CONFIRM_RESPONSE_PTR,
elapsed_time: *mut sint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertReclaimKey(
tp_handle: CSSM_TP_HANDLE,
cert_group: *const CSSM_CERTGROUP,
cert_index: uint32,
key_cache_handle: CSSM_LONG_HANDLE,
csp_handle: CSSM_CSP_HANDLE,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertReclaimAbort(
tp_handle: CSSM_TP_HANDLE,
key_cache_handle: CSSM_LONG_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_FormRequest(
tp_handle: CSSM_TP_HANDLE,
preferred_authority: *const CSSM_TP_AUTHORITY_ID,
form_type: CSSM_TP_FORM_TYPE,
blank_form: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_FormSubmit(
tp_handle: CSSM_TP_HANDLE,
form_type: CSSM_TP_FORM_TYPE,
form: *const SecAsn1Item,
clearance_authority: *const CSSM_TP_AUTHORITY_ID,
represented_authority: *const CSSM_TP_AUTHORITY_ID,
credentials: CSSM_ACCESS_CREDENTIALS_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertGroupVerify(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
csp_handle: CSSM_CSP_HANDLE,
cert_group_to_be_verified: *const CSSM_CERTGROUP,
verify_context: *const CSSM_TP_VERIFY_CONTEXT,
verify_context_result: CSSM_TP_VERIFY_CONTEXT_RESULT_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertCreateTemplate(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
number_of_fields: uint32,
cert_fields: *const CSSM_FIELD,
cert_template: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertGetAllTemplateFields(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
cert_template: *const SecAsn1Item,
number_of_fields: *mut uint32,
cert_fields: *mut CSSM_FIELD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertSign(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
cert_template_to_be_signed: *const SecAsn1Item,
signer_cert_group: *const CSSM_CERTGROUP,
signer_verify_context: *const CSSM_TP_VERIFY_CONTEXT,
signer_verify_result: CSSM_TP_VERIFY_CONTEXT_RESULT_PTR,
signed_cert: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CrlVerify(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
csp_handle: CSSM_CSP_HANDLE,
crl_to_be_verified: *const CSSM_ENCODED_CRL,
signer_cert_group: *const CSSM_CERTGROUP,
verify_context: *const CSSM_TP_VERIFY_CONTEXT,
revoker_verify_result: CSSM_TP_VERIFY_CONTEXT_RESULT_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CrlCreateTemplate(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
number_of_fields: uint32,
crl_fields: *const CSSM_FIELD,
new_crl_template: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertRevoke(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
csp_handle: CSSM_CSP_HANDLE,
old_crl_template: *const SecAsn1Item,
cert_group_to_be_revoked: *const CSSM_CERTGROUP,
revoker_cert_group: *const CSSM_CERTGROUP,
revoker_verify_context: *const CSSM_TP_VERIFY_CONTEXT,
revoker_verify_result: CSSM_TP_VERIFY_CONTEXT_RESULT_PTR,
reason: CSSM_TP_CERTCHANGE_REASON,
new_crl_template: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertRemoveFromCrlTemplate(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
csp_handle: CSSM_CSP_HANDLE,
old_crl_template: *const SecAsn1Item,
cert_group_to_be_removed: *const CSSM_CERTGROUP,
revoker_cert_group: *const CSSM_CERTGROUP,
revoker_verify_context: *const CSSM_TP_VERIFY_CONTEXT,
revoker_verify_result: CSSM_TP_VERIFY_CONTEXT_RESULT_PTR,
new_crl_template: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CrlSign(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
crl_to_be_signed: *const CSSM_ENCODED_CRL,
signer_cert_group: *const CSSM_CERTGROUP,
signer_verify_context: *const CSSM_TP_VERIFY_CONTEXT,
signer_verify_result: CSSM_TP_VERIFY_CONTEXT_RESULT_PTR,
signed_crl: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_ApplyCrlToDb(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
csp_handle: CSSM_CSP_HANDLE,
crl_to_be_applied: *const CSSM_ENCODED_CRL,
signer_cert_group: *const CSSM_CERTGROUP,
apply_crl_verify_context: *const CSSM_TP_VERIFY_CONTEXT,
apply_crl_verify_result: CSSM_TP_VERIFY_CONTEXT_RESULT_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertGroupConstruct(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
csp_handle: CSSM_CSP_HANDLE,
db_list: *const CSSM_DL_DB_LIST,
construct_params: *const c_void,
cert_group_frag: *const CSSM_CERTGROUP,
cert_group: *mut CSSM_CERTGROUP_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertGroupPrune(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
db_list: *const CSSM_DL_DB_LIST,
ordered_cert_group: *const CSSM_CERTGROUP,
pruned_cert_group: *mut CSSM_CERTGROUP_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_CertGroupToTupleGroup(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
cert_group: *const CSSM_CERTGROUP,
tuple_group: *mut CSSM_TUPLEGROUP_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_TupleGroupToCertGroup(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
tuple_group: *const CSSM_TUPLEGROUP,
cert_templates: *mut CSSM_CERTGROUP_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_TP_PassThrough(
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
db_list: *const CSSM_DL_DB_LIST,
pass_through_id: uint32,
input_params: *const c_void,
output_params: *mut *mut c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_AC_AuthCompute(
ac_handle: CSSM_AC_HANDLE,
base_authorizations: *const CSSM_TUPLEGROUP,
credentials: *const CSSM_TUPLEGROUP,
number_of_requestors: uint32,
requestors: *const CSSM_LIST,
requested_authorization_period: *const CSSM_LIST,
requested_authorization: *const CSSM_LIST,
authorization_result: CSSM_TUPLEGROUP_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_AC_PassThrough(
ac_handle: CSSM_AC_HANDLE,
tp_handle: CSSM_TP_HANDLE,
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
db_list: *const CSSM_DL_DB_LIST,
pass_through_id: uint32,
input_params: *const c_void,
output_params: *mut *mut c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertCreateTemplate(
cl_handle: CSSM_CL_HANDLE,
number_of_fields: uint32,
cert_fields: *const CSSM_FIELD,
cert_template: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGetAllTemplateFields(
cl_handle: CSSM_CL_HANDLE,
cert_template: *const SecAsn1Item,
number_of_fields: *mut uint32,
cert_fields: *mut CSSM_FIELD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertSign(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
cert_template: *const SecAsn1Item,
sign_scope: *const CSSM_FIELD,
scope_size: uint32,
signed_cert: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertVerify(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
cert_to_be_verified: *const SecAsn1Item,
signer_cert: *const SecAsn1Item,
verify_scope: *const CSSM_FIELD,
scope_size: uint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertVerifyWithKey(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
cert_to_be_verified: *const SecAsn1Item,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGetFirstFieldValue(
cl_handle: CSSM_CL_HANDLE,
cert: *const SecAsn1Item,
cert_field: *const SecAsn1Oid,
results_handle: CSSM_HANDLE_PTR,
number_of_matched_fields: *mut uint32,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGetNextFieldValue(
cl_handle: CSSM_CL_HANDLE,
results_handle: CSSM_HANDLE,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertAbortQuery(
cl_handle: CSSM_CL_HANDLE,
results_handle: CSSM_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGetKeyInfo(
cl_handle: CSSM_CL_HANDLE,
cert: *const SecAsn1Item,
key: *mut CSSM_KEY_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGetAllFields(
cl_handle: CSSM_CL_HANDLE,
cert: *const SecAsn1Item,
number_of_fields: *mut uint32,
cert_fields: *mut CSSM_FIELD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_FreeFields(
cl_handle: CSSM_CL_HANDLE,
number_of_fields: uint32,
fields: *mut CSSM_FIELD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_FreeFieldValue(
cl_handle: CSSM_CL_HANDLE,
cert_or_crl_oid: *const SecAsn1Oid,
value: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertCache(
cl_handle: CSSM_CL_HANDLE,
cert: *const SecAsn1Item,
cert_handle: CSSM_HANDLE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGetFirstCachedFieldValue(
cl_handle: CSSM_CL_HANDLE,
cert_handle: CSSM_HANDLE,
cert_field: *const SecAsn1Oid,
results_handle: CSSM_HANDLE_PTR,
number_of_matched_fields: *mut uint32,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGetNextCachedFieldValue(
cl_handle: CSSM_CL_HANDLE,
results_handle: CSSM_HANDLE,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertAbortCache(
cl_handle: CSSM_CL_HANDLE,
cert_handle: CSSM_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGroupToSignedBundle(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
cert_group_to_bundle: *const CSSM_CERTGROUP,
bundle_info: *const CSSM_CERT_BUNDLE_HEADER,
signed_bundle: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertGroupFromVerifiedBundle(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
cert_bundle: *const CSSM_CERT_BUNDLE,
signer_cert: *const SecAsn1Item,
cert_group: *mut CSSM_CERTGROUP_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CertDescribeFormat(
cl_handle: CSSM_CL_HANDLE,
number_of_fields: *mut uint32,
oid_list: *mut CSSM_OID_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlCreateTemplate(
cl_handle: CSSM_CL_HANDLE,
number_of_fields: uint32,
crl_template: *const CSSM_FIELD,
new_crl: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlSetFields(
cl_handle: CSSM_CL_HANDLE,
number_of_fields: uint32,
crl_template: *const CSSM_FIELD,
old_crl: *const SecAsn1Item,
modified_crl: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlAddCert(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
cert: *const SecAsn1Item,
number_of_fields: uint32,
crl_entry_fields: *const CSSM_FIELD,
old_crl: *const SecAsn1Item,
new_crl: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlRemoveCert(
cl_handle: CSSM_CL_HANDLE,
cert: *const SecAsn1Item,
old_crl: *const SecAsn1Item,
new_crl: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlSign(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
unsigned_crl: *const SecAsn1Item,
sign_scope: *const CSSM_FIELD,
scope_size: uint32,
signed_crl: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlVerify(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
crl_to_be_verified: *const SecAsn1Item,
signer_cert: *const SecAsn1Item,
verify_scope: *const CSSM_FIELD,
scope_size: uint32,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlVerifyWithKey(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
crl_to_be_verified: *const SecAsn1Item,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_IsCertInCrl(
cl_handle: CSSM_CL_HANDLE,
cert: *const SecAsn1Item,
crl: *const SecAsn1Item,
cert_found: *mut CSSM_BOOL,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlGetFirstFieldValue(
cl_handle: CSSM_CL_HANDLE,
crl: *const SecAsn1Item,
crl_field: *const SecAsn1Oid,
results_handle: CSSM_HANDLE_PTR,
number_of_matched_fields: *mut uint32,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlGetNextFieldValue(
cl_handle: CSSM_CL_HANDLE,
results_handle: CSSM_HANDLE,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlAbortQuery(
cl_handle: CSSM_CL_HANDLE,
results_handle: CSSM_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlGetAllFields(
cl_handle: CSSM_CL_HANDLE,
crl: *const SecAsn1Item,
number_of_crl_fields: *mut uint32,
crl_fields: *mut CSSM_FIELD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlCache(
cl_handle: CSSM_CL_HANDLE,
crl: *const SecAsn1Item,
crl_handle: CSSM_HANDLE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_IsCertInCachedCrl(
cl_handle: CSSM_CL_HANDLE,
cert: *const SecAsn1Item,
crl_handle: CSSM_HANDLE,
cert_found: *mut CSSM_BOOL,
crl_record_index: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlGetFirstCachedFieldValue(
cl_handle: CSSM_CL_HANDLE,
crl_handle: CSSM_HANDLE,
crl_record_index: *const SecAsn1Item,
crl_field: *const SecAsn1Oid,
results_handle: CSSM_HANDLE_PTR,
number_of_matched_fields: *mut uint32,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlGetNextCachedFieldValue(
cl_handle: CSSM_CL_HANDLE,
results_handle: CSSM_HANDLE,
value: *mut CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlGetAllCachedRecordFields(
cl_handle: CSSM_CL_HANDLE,
crl_handle: CSSM_HANDLE,
crl_record_index: *const SecAsn1Item,
number_of_fields: *mut uint32,
crl_fields: *mut CSSM_FIELD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlAbortCache(cl_handle: CSSM_CL_HANDLE, crl_handle: CSSM_HANDLE)
-> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_CrlDescribeFormat(
cl_handle: CSSM_CL_HANDLE,
number_of_fields: *mut uint32,
oid_list: *mut CSSM_OID_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_CL_PassThrough(
cl_handle: CSSM_CL_HANDLE,
cc_handle: CSSM_CC_HANDLE,
pass_through_id: uint32,
input_params: *const c_void,
output_params: *mut *mut c_void,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DbOpen(
dl_handle: CSSM_DL_HANDLE,
db_name: *const c_char,
db_location: *const CSSM_NET_ADDRESS,
access_request: CSSM_DB_ACCESS_TYPE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
open_parameters: *const c_void,
db_handle: *mut CSSM_DB_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DbClose(dldb_handle: CSSM_DL_DB_HANDLE) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DbCreate(
dl_handle: CSSM_DL_HANDLE,
db_name: *const c_char,
db_location: *const CSSM_NET_ADDRESS,
db_info: *const CSSM_DBINFO,
access_request: CSSM_DB_ACCESS_TYPE,
cred_and_acl_entry: *const CSSM_RESOURCE_CONTROL_CONTEXT,
open_parameters: *const c_void,
db_handle: *mut CSSM_DB_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DbDelete(
dl_handle: CSSM_DL_HANDLE,
db_name: *const c_char,
db_location: *const CSSM_NET_ADDRESS,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_CreateRelation(
dldb_handle: CSSM_DL_DB_HANDLE,
relation_id: CSSM_DB_RECORDTYPE,
relation_name: *const c_char,
number_of_attributes: uint32,
p_attribute_info: *const CSSM_DB_SCHEMA_ATTRIBUTE_INFO,
number_of_indexes: uint32,
p_index_info: *const CSSM_DB_SCHEMA_INDEX_INFO,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DestroyRelation(
dldb_handle: CSSM_DL_DB_HANDLE,
relation_id: CSSM_DB_RECORDTYPE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_Authenticate(
dldb_handle: CSSM_DL_DB_HANDLE,
access_request: CSSM_DB_ACCESS_TYPE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_GetDbAcl(
dldb_handle: CSSM_DL_DB_HANDLE,
selection_tag: *const CSSM_STRING,
number_of_acl_infos: *mut uint32,
acl_infos: *mut CSSM_ACL_ENTRY_INFO_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_ChangeDbAcl(
dldb_handle: CSSM_DL_DB_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
acl_edit: *const CSSM_ACL_EDIT,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_GetDbOwner(
dldb_handle: CSSM_DL_DB_HANDLE,
owner: CSSM_ACL_OWNER_PROTOTYPE_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_ChangeDbOwner(
dldb_handle: CSSM_DL_DB_HANDLE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
new_owner: *const CSSM_ACL_OWNER_PROTOTYPE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_GetDbNames(
dl_handle: CSSM_DL_HANDLE,
name_list: *mut CSSM_NAME_LIST_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_GetDbNameFromHandle(
dldb_handle: CSSM_DL_DB_HANDLE,
db_name: *mut *mut c_char,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_FreeNameList(
dl_handle: CSSM_DL_HANDLE,
name_list: CSSM_NAME_LIST_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DataInsert(
dldb_handle: CSSM_DL_DB_HANDLE,
record_type: CSSM_DB_RECORDTYPE,
attributes: *const CSSM_DB_RECORD_ATTRIBUTE_DATA,
data: *const SecAsn1Item,
unique_id: *mut CSSM_DB_UNIQUE_RECORD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DataDelete(
dldb_handle: CSSM_DL_DB_HANDLE,
unique_record_identifier: *const CSSM_DB_UNIQUE_RECORD,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DataModify(
dldb_handle: CSSM_DL_DB_HANDLE,
record_type: CSSM_DB_RECORDTYPE,
unique_record_identifier: CSSM_DB_UNIQUE_RECORD_PTR,
attributes_to_be_modified: *const CSSM_DB_RECORD_ATTRIBUTE_DATA,
data_to_be_modified: *const SecAsn1Item,
modify_mode: CSSM_DB_MODIFY_MODE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DataGetFirst(
dldb_handle: CSSM_DL_DB_HANDLE,
query: *const CSSM_QUERY,
results_handle: CSSM_HANDLE_PTR,
attributes: CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR,
data: CSSM_DATA_PTR,
unique_id: *mut CSSM_DB_UNIQUE_RECORD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DataGetNext(
dldb_handle: CSSM_DL_DB_HANDLE,
results_handle: CSSM_HANDLE,
attributes: CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR,
data: CSSM_DATA_PTR,
unique_id: *mut CSSM_DB_UNIQUE_RECORD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DataAbortQuery(
dldb_handle: CSSM_DL_DB_HANDLE,
results_handle: CSSM_HANDLE,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_DataGetFromUniqueRecordId(
dldb_handle: CSSM_DL_DB_HANDLE,
unique_record: *const CSSM_DB_UNIQUE_RECORD,
attributes: CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR,
data: CSSM_DATA_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_FreeUniqueRecord(
dldb_handle: CSSM_DL_DB_HANDLE,
unique_record: CSSM_DB_UNIQUE_RECORD_PTR,
) -> CSSM_RETURN;
}
extern "C-unwind" {
#[cfg(all(feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
pub fn CSSM_DL_PassThrough(
dldb_handle: CSSM_DL_DB_HANDLE,
pass_through_id: uint32,
input_params: *const c_void,
output_params: *mut *mut c_void,
) -> CSSM_RETURN;
}