create

suspend fun create(storage: Storage): SoftwareSecureArea

Creates an instance of SoftwareSecureArea using default Crypto.secureRandom.

Parameters

storage

the storage engine to use for storing key material.


suspend fun create(storage: Storage, random: Random): SoftwareSecureArea

Creates an instance of SoftwareSecureArea.

Parameters

storage

the storage engine to use for storing key material.

random

the random provider to use.