SecKeyCreatePair

Function SecKeyCreatePair 

Source
pub unsafe extern "C-unwind" fn SecKeyCreatePair(
    keychain_ref: Option<&SecKeychain>,
    algorithm: CSSM_ALGORITHMS,
    key_size_in_bits: uint32,
    context_handle: CSSM_CC_HANDLE,
    public_key_usage: CSSM_KEYUSE,
    public_key_attr: uint32,
    private_key_usage: CSSM_KEYUSE,
    private_key_attr: uint32,
    initial_access: Option<&SecAccess>,
    public_key: *mut *mut SecKey,
    private_key: *mut *mut SecKey,
) -> i32
👎Deprecated: renamed to SecKey::create_pair
Available on crate features SecBase and SecKey and cssmconfig and cssmtype only.