Class FinBankingPinStore

Namespace
Subsembly.FinTS.Online
Assembly
Subsembly.FinTS.Core.dll

Implements a secure PIN storage that stores PINs as encrypted attributes in the FinContact.

public class FinBankingPinStore : IFinBankingPinStore
Inheritance
FinBankingPinStore
Implements
Inherited Members

Methods

GetStoredPin(FinContact)

Retrieves the PIN from the FinContact.

public string GetStoredPin(FinContact aContact)

Parameters

aContact FinContact

Returns

string

SetAppCredentials(string, string)

Config application and probably user specific information for automatic and secure PIN storage.

public static void SetAppCredentials(string sAppDomain, string sAppPassword)

Parameters

sAppDomain string

An unique application domain name which is used to create a unique field names inside the stored contact data. Use a string that includes your company name and your application name, separated by an underscore, for example "MyCompany_MyBanking".

sAppPassword string

A secret password or salt value that is used to encrypt the stored PIN. This value shall not be hard coded in an application, but must be derived from user private credentials. For example, this could be the same password that is used by the user to log into your application.

Remarks

Setting the application credentials enables the default PIN storage. If this method is never called, then the default FinBankingPinStore will never store anything.

SetStoredPin(FinContact, string)

Stores the PIN in the FinContact.

public void SetStoredPin(FinContact aContact, string sPin)

Parameters

aContact FinContact
sPin string