#[repr(C)]pub struct cssm_spi_kr_funcs {
pub RegistrationRequest: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, *const CSSM_ACCESS_CREDENTIALS, CSSM_KR_POLICY_FLAGS, *mut sint32, CSSM_HANDLE_PTR) -> CSSM_RETURN>,
pub RegistrationRetrieve: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE, *mut sint32, CSSM_KR_PROFILE_PTR) -> CSSM_RETURN>,
pub GenerateRecoveryFields: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, CSSM_KR_POLICY_FLAGS, CSSM_DATA_PTR) -> CSSM_RETURN>,
pub ProcessRecoveryFields: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, CSSM_KR_POLICY_FLAGS, *const SecAsn1Item) -> CSSM_RETURN>,
pub RecoveryRequest: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, *const CSSM_ACCESS_CREDENTIALS, *mut sint32, CSSM_HANDLE_PTR) -> CSSM_RETURN>,
pub RecoveryRetrieve: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE, *mut sint32, CSSM_HANDLE_PTR, *mut uint32) -> CSSM_RETURN>,
pub GetRecoveredObject: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE, uint32, CSSM_CSP_HANDLE, *const CSSM_RESOURCE_CONTROL_CONTEXT, uint32, CSSM_KEY_PTR, CSSM_DATA_PTR) -> CSSM_RETURN>,
pub RecoveryRequestAbort: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE) -> CSSM_RETURN>,
pub PassThrough: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, *const c_void, *mut *mut c_void) -> CSSM_RETURN>,
}
👎Deprecated
Available on crate features
SecAsn1Types
and cssmconfig
and cssmkrapi
and cssmkrspi
and cssmtype
only.Expand description
Fields§
§RegistrationRequest: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, *const CSSM_ACCESS_CREDENTIALS, CSSM_KR_POLICY_FLAGS, *mut sint32, CSSM_HANDLE_PTR) -> CSSM_RETURN>
👎Deprecated
§RegistrationRetrieve: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE, *mut sint32, CSSM_KR_PROFILE_PTR) -> CSSM_RETURN>
👎Deprecated
§GenerateRecoveryFields: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, CSSM_KR_POLICY_FLAGS, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§ProcessRecoveryFields: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, CSSM_KR_POLICY_FLAGS, *const SecAsn1Item) -> CSSM_RETURN>
👎Deprecated
§RecoveryRequest: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, *const SecAsn1Item, *const CSSM_ACCESS_CREDENTIALS, *mut sint32, CSSM_HANDLE_PTR) -> CSSM_RETURN>
👎Deprecated
§RecoveryRetrieve: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE, *mut sint32, CSSM_HANDLE_PTR, *mut uint32) -> CSSM_RETURN>
👎Deprecated
§GetRecoveredObject: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE, uint32, CSSM_CSP_HANDLE, *const CSSM_RESOURCE_CONTROL_CONTEXT, uint32, CSSM_KEY_PTR, CSSM_DATA_PTR) -> CSSM_RETURN>
👎Deprecated
§RecoveryRequestAbort: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_HANDLE) -> CSSM_RETURN>
👎Deprecated
§PassThrough: Option<unsafe extern "C-unwind" fn(CSSM_KRSP_HANDLE, CSSM_CC_HANDLE, *const CSSM_CONTEXT, CSSM_CC_HANDLE, *const CSSM_CONTEXT, uint32, *const c_void, *mut *mut c_void) -> CSSM_RETURN>
👎Deprecated
Trait Implementations§
Source§impl Clone for cssm_spi_kr_funcs
impl Clone for cssm_spi_kr_funcs
Source§fn clone(&self) -> cssm_spi_kr_funcs
fn clone(&self) -> cssm_spi_kr_funcs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for cssm_spi_kr_funcs
impl Debug for cssm_spi_kr_funcs
Source§impl Encode for cssm_spi_kr_funcs
Available on crate feature objc2
only.
impl Encode for cssm_spi_kr_funcs
Available on crate feature
objc2
only.Source§impl PartialEq for cssm_spi_kr_funcs
impl PartialEq for cssm_spi_kr_funcs
Source§impl RefEncode for cssm_spi_kr_funcs
Available on crate feature objc2
only.
impl RefEncode for cssm_spi_kr_funcs
Available on crate feature
objc2
only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for cssm_spi_kr_funcs
impl StructuralPartialEq for cssm_spi_kr_funcs
Auto Trait Implementations§
impl Freeze for cssm_spi_kr_funcs
impl RefUnwindSafe for cssm_spi_kr_funcs
impl Send for cssm_spi_kr_funcs
impl Sync for cssm_spi_kr_funcs
impl Unpin for cssm_spi_kr_funcs
impl UnwindSafe for cssm_spi_kr_funcs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.