cssm_spi_csp_funcs

Struct cssm_spi_csp_funcs 

Source
#[repr(C)]
pub struct cssm_spi_csp_funcs {
Show 57 fields pub EventNotify: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CONTEXT_EVENT, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>, pub QuerySize: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_BOOL, uint32, CSSM_QUERY_SIZE_DATA_PTR) -> CSSM_RETURN>, pub SignData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_ALGORITHMS, CSSM_DATA_PTR) -> CSSM_RETURN>, pub SignDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>, pub SignDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>, pub SignDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>, pub VerifyData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_ALGORITHMS, *const SecAsn1Item) -> CSSM_RETURN>, pub VerifyDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>, pub VerifyDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>, pub VerifyDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item) -> CSSM_RETURN>, pub DigestData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR) -> CSSM_RETURN>, pub DigestDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>, pub DigestDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>, pub DigestDataClone: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_CC_HANDLE) -> CSSM_RETURN>, pub DigestDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>, pub GenerateMac: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR) -> CSSM_RETURN>, pub GenerateMacInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>, pub GenerateMacUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>, pub GenerateMacFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>, pub VerifyMac: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, *const SecAsn1Item) -> CSSM_RETURN>, pub VerifyMacInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>, pub VerifyMacUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>, pub VerifyMacFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item) -> CSSM_RETURN>, pub EncryptData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE, CSSM_DATA_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub EncryptDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub EncryptDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE) -> CSSM_RETURN>, pub EncryptDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>, pub DecryptData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE, CSSM_DATA_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub DecryptDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub DecryptDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE) -> CSSM_RETURN>, pub DecryptDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>, pub QueryKeySizeInBits: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const CSSM_KEY, CSSM_KEY_SIZE_PTR) -> CSSM_RETURN>, pub GenerateKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub GenerateKeyPair: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, uint32, *const SecAsn1Item, CSSM_KEY_PTR, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub GenerateRandom: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_DATA_PTR) -> CSSM_RETURN>, pub GenerateAlgorithmParams: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, CSSM_DATA_PTR, *mut uint32, *mut CSSM_CONTEXT_ATTRIBUTE_PTR) -> CSSM_RETURN>, pub WrapKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_KEY, *const SecAsn1Item, CSSM_WRAP_KEY_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub UnwrapKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const CSSM_KEY, *const CSSM_WRAP_KEY, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR, CSSM_DATA_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>, pub DeriveKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_DATA_PTR, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR) -> CSSM_RETURN>, pub FreeKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, CSSM_KEY_PTR, CSSM_BOOL) -> CSSM_RETURN>, pub PassThrough: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, *const c_void, *mut *mut c_void) -> CSSM_RETURN>, pub Login: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const SecAsn1Item, *const c_void) -> CSSM_RETURN>, pub Logout: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE) -> CSSM_RETURN>, pub ChangeLoginAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_ACL_EDIT) -> CSSM_RETURN>, pub ObtainPrivateKeyFromPublicKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_KEY, CSSM_KEY_PTR) -> CSSM_RETURN>, pub RetrieveUniqueId: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>, pub RetrieveCounter: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>, pub VerifyDevice: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const SecAsn1Item) -> CSSM_RETURN>, pub GetTimeValue: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_ALGORITHMS, *mut SecAsn1Item) -> CSSM_RETURN>, pub GetOperationalStatistics: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *mut CSSM_CSP_OPERATIONAL_STATISTICS) -> CSSM_RETURN>, pub GetLoginAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_STRING, *mut uint32, *mut CSSM_ACL_ENTRY_INFO_PTR) -> CSSM_RETURN>, pub GetKeyAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_KEY, *const CSSM_STRING, *mut uint32, *mut CSSM_ACL_ENTRY_INFO_PTR) -> CSSM_RETURN>, pub ChangeKeyAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_ACL_EDIT, *const CSSM_KEY) -> CSSM_RETURN>, pub GetKeyOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_KEY, CSSM_ACL_OWNER_PROTOTYPE_PTR) -> CSSM_RETURN>, pub ChangeKeyOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_KEY, *const CSSM_ACL_OWNER_PROTOTYPE) -> CSSM_RETURN>, pub GetLoginOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_ACL_OWNER_PROTOTYPE_PTR) -> CSSM_RETURN>, pub ChangeLoginOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_ACL_OWNER_PROTOTYPE) -> CSSM_RETURN>,
}
👎Deprecated
Available on crate features SecAsn1Types and cssmconfig and cssmcspi and cssmkrapi and cssmspi and cssmtype only.
Expand description

Fields§

§EventNotify: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CONTEXT_EVENT, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>
👎Deprecated
§QuerySize: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_BOOL, uint32, CSSM_QUERY_SIZE_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§SignData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_ALGORITHMS, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§SignDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>
👎Deprecated
§SignDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>
👎Deprecated
§SignDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§VerifyData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_ALGORITHMS, *const SecAsn1Item) -> CSSM_RETURN>
👎Deprecated
§VerifyDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>
👎Deprecated
§VerifyDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>
👎Deprecated
§VerifyDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item) -> CSSM_RETURN>
👎Deprecated
§DigestData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§DigestDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>
👎Deprecated
§DigestDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>
👎Deprecated
§DigestDataClone: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_CC_HANDLE) -> CSSM_RETURN>
👎Deprecated
§DigestDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§GenerateMac: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§GenerateMacInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>
👎Deprecated
§GenerateMacUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>
👎Deprecated
§GenerateMacFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§VerifyMac: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, *const SecAsn1Item) -> CSSM_RETURN>
👎Deprecated
§VerifyMacInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT) -> CSSM_RETURN>
👎Deprecated
§VerifyMacUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32) -> CSSM_RETURN>
👎Deprecated
§VerifyMacFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item) -> CSSM_RETURN>
👎Deprecated
§EncryptData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE, CSSM_DATA_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§EncryptDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§EncryptDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE) -> CSSM_RETURN>
👎Deprecated
§EncryptDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§DecryptData: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE, CSSM_DATA_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§DecryptDataInit: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§DecryptDataUpdate: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const SecAsn1Item, uint32, CSSM_DATA_PTR, uint32, *mut CSSM_SIZE) -> CSSM_RETURN>
👎Deprecated
§DecryptDataFinal: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§QueryKeySizeInBits: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const CSSM_KEY, CSSM_KEY_SIZE_PTR) -> CSSM_RETURN>
👎Deprecated
§GenerateKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§GenerateKeyPair: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, uint32, *const SecAsn1Item, CSSM_KEY_PTR, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§GenerateRandom: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§GenerateAlgorithmParams: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, CSSM_DATA_PTR, *mut uint32, *mut CSSM_CONTEXT_ATTRIBUTE_PTR) -> CSSM_RETURN>
👎Deprecated
§WrapKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_KEY, *const SecAsn1Item, CSSM_WRAP_KEY_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§UnwrapKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const CSSM_KEY, *const CSSM_WRAP_KEY, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR, CSSM_DATA_PTR, CSSM_PRIVILEGE) -> CSSM_RETURN>
👎Deprecated
§DeriveKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_DATA_PTR, uint32, uint32, *const SecAsn1Item, *const CSSM_RESOURCE_CONTROL_CONTEXT, CSSM_KEY_PTR) -> CSSM_RETURN>
👎Deprecated
§FreeKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, CSSM_KEY_PTR, CSSM_BOOL) -> CSSM_RETURN>
👎Deprecated
§PassThrough: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, *const c_void, *mut *mut c_void) -> CSSM_RETURN>
👎Deprecated
§Login: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const SecAsn1Item, *const c_void) -> CSSM_RETURN>
👎Deprecated
§Logout: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE) -> CSSM_RETURN>
👎Deprecated
§ChangeLoginAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_ACL_EDIT) -> CSSM_RETURN>
👎Deprecated
§ObtainPrivateKeyFromPublicKey: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_KEY, CSSM_KEY_PTR) -> CSSM_RETURN>
👎Deprecated
§RetrieveUniqueId: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§RetrieveCounter: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§VerifyDevice: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const SecAsn1Item) -> CSSM_RETURN>
👎Deprecated
§GetTimeValue: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_ALGORITHMS, *mut SecAsn1Item) -> CSSM_RETURN>
👎Deprecated
§GetOperationalStatistics: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *mut CSSM_CSP_OPERATIONAL_STATISTICS) -> CSSM_RETURN>
👎Deprecated
§GetLoginAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_STRING, *mut uint32, *mut CSSM_ACL_ENTRY_INFO_PTR) -> CSSM_RETURN>
👎Deprecated
§GetKeyAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_KEY, *const CSSM_STRING, *mut uint32, *mut CSSM_ACL_ENTRY_INFO_PTR) -> CSSM_RETURN>
👎Deprecated
§ChangeKeyAcl: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_ACL_EDIT, *const CSSM_KEY) -> CSSM_RETURN>
👎Deprecated
§GetKeyOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_KEY, CSSM_ACL_OWNER_PROTOTYPE_PTR) -> CSSM_RETURN>
👎Deprecated
§ChangeKeyOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_KEY, *const CSSM_ACL_OWNER_PROTOTYPE) -> CSSM_RETURN>
👎Deprecated
§GetLoginOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, CSSM_ACL_OWNER_PROTOTYPE_PTR) -> CSSM_RETURN>
👎Deprecated
§ChangeLoginOwner: Option<unsafe extern "C-unwind" fn(CSSM_CSP_HANDLE, *const CSSM_ACCESS_CREDENTIALS, *const CSSM_ACL_OWNER_PROTOTYPE) -> CSSM_RETURN>
👎Deprecated

Trait Implementations§

Source§

impl Clone for cssm_spi_csp_funcs

Source§

fn clone(&self) -> cssm_spi_csp_funcs

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for cssm_spi_csp_funcs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Encode for cssm_spi_csp_funcs

Available on crate feature objc2 only.
Source§

const ENCODING: Encoding

The Objective-C type-encoding for this type.
Source§

impl PartialEq for cssm_spi_csp_funcs

Source§

fn eq(&self, other: &cssm_spi_csp_funcs) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl RefEncode for cssm_spi_csp_funcs

Available on crate feature objc2 only.
Source§

const ENCODING_REF: Encoding

The Objective-C type-encoding for a reference of this type. Read more
Source§

impl Copy for cssm_spi_csp_funcs

Source§

impl StructuralPartialEq for cssm_spi_csp_funcs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> EncodeArgument for T
where T: Encode,

Source§

const ENCODING_ARGUMENT: Encoding = T::ENCODING

The Objective-C type-encoding for this type.
Source§

impl<T> EncodeReturn for T
where T: Encode,

Source§

const ENCODING_RETURN: Encoding = T::ENCODING

The Objective-C type-encoding for this type.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,