CloudSecureArea
open class CloudSecureArea(storageTable: StorageTable, val identifier: String, val serverUrl: String, httpClientEngineFactory: HttpClientEngineFactory<*>, random: Random = Crypto.secureRandom) : SecureArea
An implementation of SecureArea using a Secure Area managed by an external server.
Constructors
Link copied to clipboard
protected constructor(storageTable: StorageTable, identifier: String, serverUrl: String, httpClientEngineFactory: HttpClientEngineFactory<*>, random: Random = Crypto.secureRandom)
Properties
Functions
Link copied to clipboard
open suspend override fun batchCreateKey(numKeys: Int, createKeySettings: CreateKeySettings): BatchCreateKeyResult
Creates a batch of new keys.
Link copied to clipboard
open suspend override fun createKey(alias: String?, createKeySettings: CreateKeySettings): CloudKeyInfo
Creates a new key.
Link copied to clipboard
Gets information about a key.
Link copied to clipboard
Checks whether the key has been invalidated.
Link copied to clipboard
The PassphraseConstraints configured at registration time.
Link copied to clipboard
Loads persisted Cloud Secure Area state and initializes its platform secure area.
Link copied to clipboard
open suspend override fun kemDecapsulate(alias: String, ciphertext: ByteArray, unlockReason: Reason): SecureByteString
Performs Key Decapsulation.
Link copied to clipboard
open suspend override fun keyAgreement(alias: String, otherKey: EcPublicKey, unlockReason: Reason): SecureByteString
Performs Key Agreement.
Link copied to clipboard