19 #ifndef FREERDP_UTILS_SMARTCARDLOGON_H
20 #define FREERDP_UTILS_SMARTCARDLOGON_H
22 #include <freerdp/types.h>
23 #include <freerdp/settings.h>
24 #include <freerdp/crypto/certificate.h>
31 typedef struct SmartcardKeyInfo_st SmartcardKeyInfo;
33 typedef struct SmartcardCertInfo_st
37 rdpCertificate* certificate;
48 SmartcardKeyInfo* key_info;
51 FREERDP_API BOOL smartcard_enumerateCerts(
const rdpSettings* settings,
54 FREERDP_API BOOL smartcard_getCert(
const rdpContext* context,
SmartcardCertInfo** cert,
57 FREERDP_API
void smartcardCertList_Free(
SmartcardCertInfo** pscCert,
size_t count);