Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- Version 7.0
- Added SmartCard.PerformSignature and SmartCard.ReadCertificate to handle a few card readers easier.
Example Databases
Blog Entries
This function checks for a license.
Created 18th January 2017, last changed 17th June 2018
