Persistence for one-tap PdfSigningIdentitys (see
PdfSigningIdentity.generate). An identity is stored by a caller-chosen
id as its PEM (toPem()), which carries the unprotected private key -
so the production backend, SecureIdentityStore, keeps it in the platform
Keychain/Keystore rather than in preferences.
Implementations are async and backend-agnostic; the "Create signing identity" dialog takes one so the host chooses where keys live (or passes an InMemoryIdentityStore for an ephemeral, in-session identity).
- 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
-
delete(
String id) → Future< void> -
Removes the identity stored under
id(a no-op when absent). -
ids(
) → Future< List< String> > - The ids of every stored identity.
-
load(
String id) → Future< PdfSigningIdentity?> -
Loads the identity stored under
id, or null when there is none. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
String id, PdfSigningIdentity identity) → Future< void> -
Stores
identityunderid, replacing any existing one. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited