add

Adds a preloaded KeyUnlockData.

If keyUnlockData is null (e.g. when user authentication is not required), this method is a no-op.

Return

this builder.

Parameters

keyUnlockData

the preloaded unlock data, or null.


Adds a list of preloaded KeyUnlockData items.

Return

this builder.

Parameters

keyUnlockDataList

the list of preloaded unlock data items.


fun add(secureArea: SecureArea, alias: String, keyUnlockData: KeyUnlockData?): PreloadedKeyUnlockDataProvider.Builder

Adds a preloaded KeyUnlockData for a specific key in a SecureArea.

If keyUnlockData is null (e.g. when user authentication is not required), this method is a no-op.

Return

this builder.

Parameters

secureArea

the Secure Area containing the key.

alias

the alias of the key.

keyUnlockData

the preloaded unlock data, or null.


fun add(secureArea: SecureArea, alias: String, keyUnlockDataList: List<KeyUnlockData>): PreloadedKeyUnlockDataProvider.Builder

Adds a list of preloaded KeyUnlockData items for a specific key in a SecureArea.

Return

this builder.

Parameters

secureArea

the Secure Area containing the key.

alias

the alias of the key.

keyUnlockDataList

the list of preloaded unlock data items.