KeyProvider class abstract interface

Abstraction over where the decryption key comes from.

This package does not decide your key management policy — where a key lives and how it is protected is determined by your app's distribution model, and the responsibility stays with you. This interface is only the point where that policy plugs in.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getKey(KeyContext context) Future<Uint8List>
Returns a 32-byte AES-256 key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited