Function SKF_ECCExportSessionKey

Source
pub unsafe extern "C" fn SKF_ECCExportSessionKey(
    ct_handle: HANDLE,
    alg_id: ULONG,
    key_blob: *const ECCPublicKeyBlob,
    cipher_blob: *mut ECCCipherBlob,
    session_key: *mut HANDLE,
) -> ULONG
Expand description

生成会话密钥并用外部公钥加密输出

[ct_handle] [IN]容器句柄

[alg_id] [IN]会话密钥的算法标识

[key_blob] [IN]外部输入的公钥结构

[cipher_blob] [OUT]会话密钥密文

[session_key] [OUT]会话密钥句柄