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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SmartCard.PerformSignature
Performs signature.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SmartCard | 7.0 | Yes | Yes | No | Yes | No |
MBS( "SmartCard.PerformSignature"; SmartCardContext; DeviceType; Hash { ; 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" | |
| Hash | The input hash to sign. Length should be 40 hex characters, so it's decoded 20 bytes. |
"0011223344556677889900112233445566778899" | |
| ReturnType | What format to return the certificate. Can be Hex or Base64. Default is hex. |
"Hex" | Optional |
Result
Returns result or error.
Description
Performs signature.Convenience function which wraps a few calls to Transmit function.
With plugin version 7.1 the length of hash is variable.
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.
Example Databases
Blog Entries
Release notes
- Version 7.1
- Changed SmartCard.PerformSignature to accept more than 20 bytes for hashes.
- Fixed an issue with SmartCard.PerformSignature not returning signature correctly.
- Version 7.0
- Added SmartCard.PerformSignature and SmartCard.ReadCertificate to handle a few card readers easier.
Created 18th January 2017, last changed 17th June 2018
SmartCard.ListReaders - SmartCard.ReadCertificate
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins