affinidi_tdk_vault_storages library

Support for doing something awesome.

More dartdocs go here.

Classes

Account
Represents an account in the system.
AccountMetadata
Metadata associated with an account.
DekekInfo
Stores DEKEK information used for securing data in the vault.
GithubFileStorage
An implementation of FileStorage for storing and managing files on GitHub.
HiveCredentialStorage
A Hive-based implementation of CredentialStorage for storing and managing verifiable credentials.
IamApiServiceInterface
Interface for IAM API service operations.
InMemoryVaultStore
An in memory implementation of VaultStore for storing seed and account index data.
Item
Represents a storage item (file or folder) in the system with its metadata.
Metadata
Represents information for a Node
Node
Represents a node in the storage. A node can be a file, folder, credential, or other storage elements.
ProfileData
Represents structured data associated with a profile.
ProfileDatapoint
Represents a data structure for storing profile-related information.
RecognizedCategoryData
Contains recognized category-specific data points.
RecognizedDatapoint
Represents data extracted and recognized from scanned documents.
RecognizedProfileData
Contains recognized data organized into a profile structure.
ScannedFile
Represents a file that has been scanned.
ScannedFileData
Contains the detailed data extracted from a scanned file.
SharedStorageData
Data about a shared storage instance.
VaultDataManagerProfile
Represents a user profile in the storage system.
VaultDataManagerService
Implementation of VaultDataManagerServiceInterface that handles encrypted storage operations using vault data manager services.
VaultDataManagerServiceInterface
Interface for secure storage operations with encryption support.
VaultFileConsumption
Represents storage consumption information for the vault.
VerifiableCredential
A tamper-evident credential whose authorship can be cryptographically verified.
VFSCredentialStorage
A VFS-based implementation of CredentialStorage for storing and managing verifiable credentials using the Vault Data Manager Service.
VFSFileStorage
A VFS based implementation of FileStorage for managing files and folders.
VfsProfileRepository
A VFS implementation of ProfileRepository for managing user profiles.
VfsSharedStorage
A VFS-based implementation of vault.SharedStorage that combines credential and file storage.

Enums

NodeStatus
Node statuses that can be used to describe the state of a node in the storage system.
NodeType
Node types that can be used to describe the type of a node in the storage system.
TdkExceptionType
Types of exceptions that can occur in the TDK.

Typedefs

ConsumerAuthProviderFactory = ConsumerAuthProvider Function(DidSigner didSigner, {Dio? client})
Type definition for creating ConsumerAuthProvider instances
IamApiServiceFactory = IamApiServiceInterface Function(ConsumerAuthProvider provider)
Factory function type for creating IamApiService instances.
VaultDataManagerServiceFactory = Future<VaultDataManagerServiceInterface> Function({required Uint8List encryptedDekek, required KeyPair keyPair})
Type definition for creating regular VaultDataManagerService instances
VaultDelegatedDataManagerServiceFactory = Future<VaultDataManagerServiceInterface> Function({required Uint8List encryptedDekek, required KeyPair keyPair, required String profileDid})
Type definition for creating delegated VaultDataManagerService instances

Exceptions / Errors

TdkException
Exception thrown by the Affinidi TDK when an error occurs.