Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

SmartCard.PerformSignature

Performs signature.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SmartCard 7.0 Yes Yes Yes No No

MBS( "SmartCard.PerformSignature"; SmartCardContext; DeviceType; Hash { ; ReturnType } )

Parameters

Parameter Description Example value
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 Optional
What format to return the certificate.
Can be Hex or Base64. Default is hex.
"Hex"

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.

Example Databases


SmartCard.ListReaders   -   SmartCard.ReadCertificate

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins