Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

SmartCard.ReadCertificate

Reads certificate for smart cards.

Component Version macOS Windows Linux Server iOS SDK
SmartCard 7.0 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "SmartCard.ReadCertificate"; SmartCardContext; DeviceType { ; ReturnType } )   More

Parameters

Parameter Description Example Flags
SmartCardContext The smartcard context reference number. $SmartCardContext
DeviceType Which device to handle, so the plugin talks the right dialect.
Currently supported cardos and acos.
"cardos"
ReturnType What format to return the certificate.
Can be Hex or Base64. Default is hex.
"Hex" Optional

Result

Returns result or error.

Description

Reads certificate for smart cards.
Convenience function which wraps a few calls to Transmit function.

This is function for atos Smartcards CardOS v5.0/5.3, which we needed for point of sales software in Austria. It may not work with your cards unless they have same protocol.

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th January 2017, last changed 17th June 2018


SmartCard.PerformSignature - SmartCard.ReadFile

💬 Ask a question or report a problem