Class ChallengeData


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2021-05-24T13:41:46.273636+03:00[Europe/Kiev]")
    public class ChallengeData
    extends Object
    It is contained in addition to the data element 'chosenScaMethod' if challenge data is needed for SCA. In rare cases this attribute is also used in the context of the 'startAuthorisationWithPsuAuthentication' link.
    • Constructor Detail

      • ChallengeData

        public ChallengeData()
    • Method Detail

      • getImage

        public byte[] getImage()
        PNG data (max. 512 kilobyte) to be displayed to the PSU, Base64 encoding, cp. [RFC4648]. This attribute is used only, when PHOTO_OTP or CHIP_OTP is the selected SCA method.
        Returns:
        image
      • setImage

        public void setImage​(byte[] image)
      • getData

        public List<String> getData()
        A collection of strings as challenge data.
        Returns:
        data
      • setData

        public void setData​(List<String> data)
      • getImageLink

        public String getImageLink()
        A link where the ASPSP will provides the challenge image for the TPP.
        Returns:
        imageLink
      • setImageLink

        public void setImageLink​(String imageLink)
      • getOtpMaxLength

        public Integer getOtpMaxLength()
        The maximal length for the OTP to be typed in by the PSU.
        Returns:
        otpMaxLength
      • setOtpMaxLength

        public void setOtpMaxLength​(Integer otpMaxLength)
      • getOtpFormat

        public ChallengeData.OtpFormatEnum getOtpFormat()
        The format type of the OTP to be typed in. The admitted values are \"characters\" or \"integer\".
        Returns:
        otpFormat
      • additionalInformation

        public ChallengeData additionalInformation​(String additionalInformation)
      • getAdditionalInformation

        public String getAdditionalInformation()
        Additional explanation for the PSU to explain e.g. fallback mechanism for the chosen SCA method. The TPP is obliged to show this to the PSU.
        Returns:
        additionalInformation
      • setAdditionalInformation

        public void setAdditionalInformation​(String additionalInformation)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object