Class FinBankingPinStore
Implements a secure PIN storage that stores PINs as encrypted attributes in the FinContact.
Inheritance
Implements
Inherited Members
Namespace: Subsembly.FinTS.Online
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinBankingPinStore : IFinBankingPinStore
Methods
GetStoredPin(FinContact)
Retrieves the PIN from the FinContact.
Declaration
public string GetStoredPin(FinContact aContact)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact |
Returns
Type | Description |
---|---|
System.String |
SetAppCredentials(String, String)
Config application and probably user specific information for automatic and secure PIN storage.
Declaration
public static void SetAppCredentials(string sAppDomain, string sAppPassword)
Parameters
Type | Name | Description |
---|---|---|
System.String | sAppDomain | 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". |
System.String | sAppPassword | 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.
Declaration
public void SetStoredPin(FinContact aContact, string sPin)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact | |
System.String | sPin |