Class UserVisibleDataFactory

java.lang.Object
se.swedenconnect.bankid.idp.authn.UserVisibleDataFactory

public class UserVisibleDataFactory extends Object
A utility class that builds the correct messages to display for the user during signing and authentication.
Author:
Martin Lindström, Felix Hellman
  • Constructor Details

    • UserVisibleDataFactory

      public UserVisibleDataFactory()
  • Method Details

    • constructMessage

      public static UserVisibleData constructMessage(BankIdContext context, RelyingPartyData relyingParty)
      Constructs a message to be displayed in the BankID app. For signing, we also set the non-visible data.
      Parameters:
      context - the BankID context
      relyingParty - the RP
      Returns:
      a UserVisibleData