BankIDSignValve

Trigger BankID signing. Used for local signing.

On successful execution, a new item will be added and the bankID transaction id value will be added to the property transactionID.

Properties

Name Description Default value Mandatory Supports property expansion
bankid_keystore_path Full filepath to bankid p12 file. Yes No
bankid_keystore_password Password to bankid p12 file. yes No
mode Switch to communicate with bankid test or production environment. Set to test to target bankid test environment. production No No
pnr Personnummer Yes Yes
userVisibleData Data to be signed that will be displayed in the bankid client. Yes Yes
userNonVisibleData Data to be signed that will not be displayed in the bankid client. No Yes
client_ip_request_param Parameter containing the client ip. remoteAddress No Yes

Example Configuration

{
    "name" : "BankIDSignValve",
    "config" : {
        "bankid_keystore_path" : "/opt/PhenixID/Server/bid/cert.p12",
        "bankid_keystore_password" : "{enc}iLshlMBuAOrybFnFztw02GCgP385ptNkyNjMa7cu7Y0=",
        "mode" : "test",
        "pnr" : "{{request.pnr}}",
        "user_visible_data" : "{{request.userVisibleData}}",
        "user_non_visible_data" : "{{request.userNonVisibleData}}",
        "client_ip_request_param": "X-Forwarded-For"
    }
} 

Requirements

- PhenixID Signing Service installed.

- Keystore (p12 format) file used to authenticate to BankID service stored on PhenixID Authentication Server.

- BankID client (for testing).