PlatformCryptoStack

data class PlatformCryptoStack(val cipher: Cipher, val keyRotator: KeyRotator, val postRotationInit: suspend () -> Unit = { }, val postMigrationCleanup: suspend () -> Unit = {})

Bundle of platform-specific cryptographic primitives and lifecycle hooks consumed by CryptoRuntime.

Constructors

Link copied to clipboard
constructor(cipher: Cipher, keyRotator: KeyRotator, postRotationInit: suspend () -> Unit = { }, postMigrationCleanup: suspend () -> Unit = {})

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val postMigrationCleanup: suspend () -> Unit
Link copied to clipboard
val postRotationInit: suspend () -> Unit