SecKeyGenerate

Function SecKeyGenerate 

Source
pub unsafe extern "C-unwind" fn SecKeyGenerate(
    keychain_ref: Option<&SecKeychain>,
    algorithm: CSSM_ALGORITHMS,
    key_size_in_bits: uint32,
    context_handle: CSSM_CC_HANDLE,
    key_usage: CSSM_KEYUSE,
    key_attr: uint32,
    initial_access: Option<&SecAccess>,
    key_ref: *mut *mut SecKey,
) -> i32
👎Deprecated: renamed to SecKey::generate
Available on crate features SecBase and SecKey and cssmconfig and cssmtype only.