Struct windows_sys::Win32::Security::Cryptography::CARD_DATA

#[repr(C)]
pub struct CARD_DATA {
Show 63 fields pub dwVersion: u32, pub pbAtr: *mut u8, pub cbAtr: u32, pub pwszCardName: PWSTR, pub pfnCspAlloc: PFN_CSP_ALLOC, pub pfnCspReAlloc: PFN_CSP_REALLOC, pub pfnCspFree: PFN_CSP_FREE, pub pfnCspCacheAddFile: PFN_CSP_CACHE_ADD_FILE, pub pfnCspCacheLookupFile: PFN_CSP_CACHE_LOOKUP_FILE, pub pfnCspCacheDeleteFile: PFN_CSP_CACHE_DELETE_FILE, pub pvCacheContext: *mut c_void, pub pfnCspPadData: PFN_CSP_PAD_DATA, pub hSCardCtx: usize, pub hScard: usize, pub pvVendorSpecific: *mut c_void, pub pfnCardDeleteContext: PFN_CARD_DELETE_CONTEXT, pub pfnCardQueryCapabilities: PFN_CARD_QUERY_CAPABILITIES, pub pfnCardDeleteContainer: PFN_CARD_DELETE_CONTAINER, pub pfnCardCreateContainer: PFN_CARD_CREATE_CONTAINER, pub pfnCardGetContainerInfo: PFN_CARD_GET_CONTAINER_INFO, pub pfnCardAuthenticatePin: PFN_CARD_AUTHENTICATE_PIN, pub pfnCardGetChallenge: PFN_CARD_GET_CHALLENGE, pub pfnCardAuthenticateChallenge: PFN_CARD_AUTHENTICATE_CHALLENGE, pub pfnCardUnblockPin: PFN_CARD_UNBLOCK_PIN, pub pfnCardChangeAuthenticator: PFN_CARD_CHANGE_AUTHENTICATOR, pub pfnCardDeauthenticate: PFN_CARD_DEAUTHENTICATE, pub pfnCardCreateDirectory: PFN_CARD_CREATE_DIRECTORY, pub pfnCardDeleteDirectory: PFN_CARD_DELETE_DIRECTORY, pub pvUnused3: *mut c_void, pub pvUnused4: *mut c_void, pub pfnCardCreateFile: PFN_CARD_CREATE_FILE, pub pfnCardReadFile: PFN_CARD_READ_FILE, pub pfnCardWriteFile: PFN_CARD_WRITE_FILE, pub pfnCardDeleteFile: PFN_CARD_DELETE_FILE, pub pfnCardEnumFiles: PFN_CARD_ENUM_FILES, pub pfnCardGetFileInfo: PFN_CARD_GET_FILE_INFO, pub pfnCardQueryFreeSpace: PFN_CARD_QUERY_FREE_SPACE, pub pfnCardQueryKeySizes: PFN_CARD_QUERY_KEY_SIZES, pub pfnCardSignData: PFN_CARD_SIGN_DATA, pub pfnCardRSADecrypt: PFN_CARD_RSA_DECRYPT, pub pfnCardConstructDHAgreement: PFN_CARD_CONSTRUCT_DH_AGREEMENT, pub pfnCardDeriveKey: PFN_CARD_DERIVE_KEY, pub pfnCardDestroyDHAgreement: PFN_CARD_DESTROY_DH_AGREEMENT, pub pfnCspGetDHAgreement: PFN_CSP_GET_DH_AGREEMENT, pub pfnCardGetChallengeEx: PFN_CARD_GET_CHALLENGE_EX, pub pfnCardAuthenticateEx: PFN_CARD_AUTHENTICATE_EX, pub pfnCardChangeAuthenticatorEx: PFN_CARD_CHANGE_AUTHENTICATOR_EX, pub pfnCardDeauthenticateEx: PFN_CARD_DEAUTHENTICATE_EX, pub pfnCardGetContainerProperty: PFN_CARD_GET_CONTAINER_PROPERTY, pub pfnCardSetContainerProperty: PFN_CARD_SET_CONTAINER_PROPERTY, pub pfnCardGetProperty: PFN_CARD_GET_PROPERTY, pub pfnCardSetProperty: PFN_CARD_SET_PROPERTY, pub pfnCspUnpadData: PFN_CSP_UNPAD_DATA, pub pfnMDImportSessionKey: PFN_MD_IMPORT_SESSION_KEY, pub pfnMDEncryptData: PFN_MD_ENCRYPT_DATA, pub pfnCardImportSessionKey: PFN_CARD_IMPORT_SESSION_KEY, pub pfnCardGetSharedKeyHandle: PFN_CARD_GET_SHARED_KEY_HANDLE, pub pfnCardGetAlgorithmProperty: PFN_CARD_GET_ALGORITHM_PROPERTY, pub pfnCardGetKeyProperty: PFN_CARD_GET_KEY_PROPERTY, pub pfnCardSetKeyProperty: PFN_CARD_SET_KEY_PROPERTY, pub pfnCardDestroyKey: PFN_CARD_DESTROY_KEY, pub pfnCardProcessEncryptedData: PFN_CARD_PROCESS_ENCRYPTED_DATA, pub pfnCardCreateContainerEx: PFN_CARD_CREATE_CONTAINER_EX,
}

Fields§

§dwVersion: u32§pbAtr: *mut u8§cbAtr: u32§pwszCardName: PWSTR§pfnCspAlloc: PFN_CSP_ALLOC§pfnCspReAlloc: PFN_CSP_REALLOC§pfnCspFree: PFN_CSP_FREE§pfnCspCacheAddFile: PFN_CSP_CACHE_ADD_FILE§pfnCspCacheLookupFile: PFN_CSP_CACHE_LOOKUP_FILE§pfnCspCacheDeleteFile: PFN_CSP_CACHE_DELETE_FILE§pvCacheContext: *mut c_void§pfnCspPadData: PFN_CSP_PAD_DATA§hSCardCtx: usize§hScard: usize§pvVendorSpecific: *mut c_void§pfnCardDeleteContext: PFN_CARD_DELETE_CONTEXT§pfnCardQueryCapabilities: PFN_CARD_QUERY_CAPABILITIES§pfnCardDeleteContainer: PFN_CARD_DELETE_CONTAINER§pfnCardCreateContainer: PFN_CARD_CREATE_CONTAINER§pfnCardGetContainerInfo: PFN_CARD_GET_CONTAINER_INFO§pfnCardAuthenticatePin: PFN_CARD_AUTHENTICATE_PIN§pfnCardGetChallenge: PFN_CARD_GET_CHALLENGE§pfnCardAuthenticateChallenge: PFN_CARD_AUTHENTICATE_CHALLENGE§pfnCardUnblockPin: PFN_CARD_UNBLOCK_PIN§pfnCardChangeAuthenticator: PFN_CARD_CHANGE_AUTHENTICATOR§pfnCardDeauthenticate: PFN_CARD_DEAUTHENTICATE§pfnCardCreateDirectory: PFN_CARD_CREATE_DIRECTORY§pfnCardDeleteDirectory: PFN_CARD_DELETE_DIRECTORY§pvUnused3: *mut c_void§pvUnused4: *mut c_void§pfnCardCreateFile: PFN_CARD_CREATE_FILE§pfnCardReadFile: PFN_CARD_READ_FILE§pfnCardWriteFile: PFN_CARD_WRITE_FILE§pfnCardDeleteFile: PFN_CARD_DELETE_FILE§pfnCardEnumFiles: PFN_CARD_ENUM_FILES§pfnCardGetFileInfo: PFN_CARD_GET_FILE_INFO§pfnCardQueryFreeSpace: PFN_CARD_QUERY_FREE_SPACE§pfnCardQueryKeySizes: PFN_CARD_QUERY_KEY_SIZES§pfnCardSignData: PFN_CARD_SIGN_DATA§pfnCardRSADecrypt: PFN_CARD_RSA_DECRYPT§pfnCardConstructDHAgreement: PFN_CARD_CONSTRUCT_DH_AGREEMENT§pfnCardDeriveKey: PFN_CARD_DERIVE_KEY§pfnCardDestroyDHAgreement: PFN_CARD_DESTROY_DH_AGREEMENT§pfnCspGetDHAgreement: PFN_CSP_GET_DH_AGREEMENT§pfnCardGetChallengeEx: PFN_CARD_GET_CHALLENGE_EX§pfnCardAuthenticateEx: PFN_CARD_AUTHENTICATE_EX§pfnCardChangeAuthenticatorEx: PFN_CARD_CHANGE_AUTHENTICATOR_EX§pfnCardDeauthenticateEx: PFN_CARD_DEAUTHENTICATE_EX§pfnCardGetContainerProperty: PFN_CARD_GET_CONTAINER_PROPERTY§pfnCardSetContainerProperty: PFN_CARD_SET_CONTAINER_PROPERTY§pfnCardGetProperty: PFN_CARD_GET_PROPERTY§pfnCardSetProperty: PFN_CARD_SET_PROPERTY§pfnCspUnpadData: PFN_CSP_UNPAD_DATA§pfnMDImportSessionKey: PFN_MD_IMPORT_SESSION_KEY§pfnMDEncryptData: PFN_MD_ENCRYPT_DATA§pfnCardImportSessionKey: PFN_CARD_IMPORT_SESSION_KEY§pfnCardGetSharedKeyHandle: PFN_CARD_GET_SHARED_KEY_HANDLE§pfnCardGetAlgorithmProperty: PFN_CARD_GET_ALGORITHM_PROPERTY§pfnCardGetKeyProperty: PFN_CARD_GET_KEY_PROPERTY§pfnCardSetKeyProperty: PFN_CARD_SET_KEY_PROPERTY§pfnCardDestroyKey: PFN_CARD_DESTROY_KEY§pfnCardProcessEncryptedData: PFN_CARD_PROCESS_ENCRYPTED_DATA§pfnCardCreateContainerEx: PFN_CARD_CREATE_CONTAINER_EX

Trait Implementations§

§

impl Clone for CARD_DATA

§

fn clone(&self) -> CARD_DATA

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Copy for CARD_DATA

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§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

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

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.