Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DOC and version Kiev

...

Parameter

Type

In/Out

Description

sessioncontext

SESSION_HANDLE*

out

Session context

keylocation

const char*

in

Full path to merchant bid file.

password

const char*

in

Password for the merchant bid file

configlocation

const char*

in

Path to configuration file that holds the properties for the merchant session. If this parameter is NULL, then webaddress, trustedstore and grantedpolicies must be set (not NULL).

webaddress

const char*

in

See Configuration of BankID C Server

ignored

const char*

in

Reserved.

trustedstore

const char*

in

See Configuration of BankID C Server

grantedpolicies

const char*

in

See Configuration of BankID C Server

proxyserver

const char*

in

See Configuration of BankID C Server (optional)

proxyport

const char*

in

See Configuration of BankID C Server (optional)

BID_HSMOpenSession

Syntax

 

...

Parameter

Type

In/Out

Description

sessioncontext

SESSION_HANDLE*

out

Session context

keylocation

const char*

in

Full path to merchant bid file.

password

const char*

in

Password for the merchant bid file

configlocation

const char*

in

Path to configuration file that holds the properties for the merchant session. If this parameter is NULL, then webaddress, trustedstore, grantedpolicies and pkcs11password must be set (not NULL).

webaddress

const char*

in

See Configuration of BankID C Server

ignored

const char*

in

Reserved

trustedstore

const char*

in

See Configuration of BankID C Server

grantedpolicies

const char*

in

See Configuration of BankID C Server

proxyserver

const char*

in

See Configuration of BankID C Server (optional)

proxyport

const char*

in

See Configuration of BankID C Server (optional)

pkcs11password

const char*

In

Password for the HSM.

slot

const int

in

The HSM slot to use.

...


To get access to the information, the brukerstedsbankid making the request must be authorized to request the information. This is done by the Banks in the RA interface, in the same way as when granting access to request additional information from the VA, see [IMPLW]and [RAIF] for more information. 

After a successful call to BID_GetTransactionInfo, the information must be fetched from the BankID C Server by successive calls to BID_GetInfoItem where the key is one of the oids from the call.

...


Purpose
The BID_InitSession method is used to initialize a session for the BankID Web-client (javascript). The call sets variables to be used in the javascript client such as "showConfirmation", "showUnderstanding" and "userAgent". See [IMPLW] for more details about each infoitem.

...


Purpose
Used by the merchant to perform a BankID operation using the mobile phone of the user.
The parameters must be set in the merchant's session prior to calling this method by using BID_SetInfoItem(). The infoitems are described in section 4.6.1 in [IMPL].

Parameter

Type

In/Out

Description

sessioncontext

SESSION_HANDLE

in

Session context

transactionreference

char**

out

The transaction reference for the performed operation. This can later be used for sending the user an SMS using BID_PushSms or check the status of an asynchronous action using BID_RequestMobileStatus.

...