createPlatformCryptoStack

Creates the default platform PlatformCryptoStack for appId.

On Android, call KryptostoreAndroid.initialize(context) (or AndroidCryptoContextHolder.init(context)) in Application.onCreate before invoking this function.

rotationConfig controls time-based key rotation on Android/JVM/iOS/Web (REQ-ROT-04, REQ-ROT-05). Web uses a multi-key WebCrypto keyring in IndexedDB (non-extractable keys + key-id envelope).

expect fun createPlatformCryptoStack(appId: String, rotationConfig: KeyRotationConfig = KeyRotationConfig.DEFAULT): PlatformCryptoStack

Creates the default platform PlatformCryptoStack for appId.

On Android, call KryptostoreAndroid.initialize(context) (or AndroidCryptoContextHolder.init(context)) in Application.onCreate before invoking this function.

rotationConfig controls time-based key rotation on Android/JVM/iOS/Web (REQ-ROT-04, REQ-ROT-05). Web uses a multi-key WebCrypto keyring in IndexedDB (non-extractable keys + key-id envelope).

Creates the default platform PlatformCryptoStack for appId.

On Android, call KryptostoreAndroid.initialize(context) (or AndroidCryptoContextHolder.init(context)) in Application.onCreate before invoking this function.

rotationConfig controls time-based key rotation on Android/JVM/iOS/Web (REQ-ROT-04, REQ-ROT-05). Web uses a multi-key WebCrypto keyring in IndexedDB (non-extractable keys + key-id envelope).

Creates the default platform PlatformCryptoStack for appId.

On Android, call KryptostoreAndroid.initialize(context) (or AndroidCryptoContextHolder.init(context)) in Application.onCreate before invoking this function.

rotationConfig controls time-based key rotation on Android/JVM/iOS/Web (REQ-ROT-04, REQ-ROT-05). Web uses a multi-key WebCrypto keyring in IndexedDB (non-extractable keys + key-id envelope).