Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt

Use this file to discover all available pages before exploring further.

Final Class Software-backed device signer key storage for dev/test environments.
final class SoftwareDeviceSignerKeyStorage implements DeviceSignerKeyStorageInternal
This implementation generates P-256 keys in-memory, matching the official Crossmint RN SDK’s SoftwareDeviceSignerKeyStorage used in Expo Go and development builds where native hardware-backed storage is unavailable. Do not use in production. Keys are stored in memory and lost when the app process terminates.

Methods

isAvailable

Future<bool> isAvailable()

generateKey

Future<String> generateKey({
  String? address,
  CrossmintBiometricPolicy biometricPolicy = CrossmintBiometricPolicy.none,
})

mapAddressToKey

Future<void> mapAddressToKey(String address, String publicKeyBase64)

getKey

Future<String?> getKey(String address)

hasKey

Future<bool> hasKey(String publicKeyBase64)

signMessage

Future<Map<String, Object?>> signMessage( String address, String message, )

deleteKey

Future<void> deleteKey(String address)

deletePendingKey

Future<void> deletePendingKey(String publicKeyBase64)

getDeviceName

Future<String?> getDeviceName()