- 23 Oct 2024
- 1 Minute à lire
- SombreLumière
- PDF
Integrate challenge input from an image
- Mis à jour le 23 Oct 2024
- 1 Minute à lire
- SombreLumière
- PDF
Mobile Authenticator Studio supports the input of a challenge as a QR code or a Cronto image for authenticators configured in a Challenge/Response operating mode. The image content must be the value of the challenge as generated by the server.
The content of the image can be generated using the Secure Messaging SDK 4.3.5 or later by calling the challenge transaction message body generation functionality in version 1.
Java
publicstatic String generateChallengeTransactionMessageBodyV1(String challenge) throws MessageSDKException
.NET
publicstatic String GenerateChallengeTransactionMessageBodyV1(String challenge)
Generate challenge transaction message body version 1 parameters | ||
Parameter name | Data type | Description |
---|---|---|
Challenge | String | The challenge, which is a hexadecimal string from zero to 16 characters. |
The image can be generated using the Image Generator SDK 4.3.5 or later by calling either the QR code generation API or the Cronto image API.
Java
publicstatic BWQRCodeResponse generateBWQRCode(int imageSize, String inputValue, int errorCorrectionLevel) throws ImageGeneratorException
publicstatic BufferedImage generateCrontoSign(int squareSize, String inputValue) throws ImageGeneratorSDKException
.NET
publicstatic BWQRCodeResponse GenerateBWQRCode(int imageSize, String inputValue, int errorCorrectionLevel)
publicstatic Bitmap GenerateCrontoSign(int squareSize, String inputValue)