keystore_plugin 1.1.0 copy "keystore_plugin: ^1.1.0" to clipboard
keystore_plugin: ^1.1.0 copied to clipboard

Flutter Plugin supporting key generation and signing with Android Keystore and iOS SecureEnclave keys.

keystore_plugin #

This Plugin makes Android KeyStore and iOS SecureEnclave usable for Flutter Apps. For now generating new keys and using them for signing data ist supported.

Getting Started #

Generate a key and use it for signing:

final _osKeystoreBackendPlugin = OsKeystoreBackend();
var keyId = await _osKeystoreBackendPlugin.generateKey('secp256r1', true);
var sig = await _osKeystoreBackendPlugin.sign(
          keyId,
          ascii.encode('abcdefg'));

For more complex example please have a look at example.

Notes #

  • On Android the plugin tries to use Strongbox first (only possible with curve secp256r1) if not available the trusted execution environment is used
  • On iOS only curve secp256r1 is supported
0
likes
160
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Plugin supporting key generation and signing with Android Keystore and iOS SecureEnclave keys.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface, pointycastle

More

Packages that depend on keystore_plugin

Packages that implement keystore_plugin