@atala/prism-wallet-sdk / Exports / Pluto
Class: Pluto
Pluto is a storage interface describing storage requirements of the edge agents which will be implemented using this SDK. Implement this interface using your preferred underlying storage technology, most appropriate for your use case.
Implements
Table of contents
Constructors
Properties
Methods
- backup
- deleteMessage
- getAllCredentials
- getAllDidPairs
- getAllMediators
- getAllMessages
- getAllPeerDIDs
- getAllPrismDIDs
- getCredentialMetadata
- getDIDPrivateKeysByDID
- getLinkSecret
- getMessage
- getPairByDID
- getPairByName
- getPrismDIDS
- mapDIDPairToDomain
- onlyOne
- restore
- revokeCredential
- start
- storeCredential
- storeCredentialMetadata
- storeDID
- storeDIDPair
- storeLinkSecret
- storeMediator
- storeMessage
- storeMessages
- storePeerDID
- storePrismDID
- storePrivateKey
Constructors
constructor
• new Pluto(store
, keyRestoration
): Pluto
Parameters
Name | Type |
---|---|
store | Store |
keyRestoration | KeyRestoration |
Returns
Defined in
Properties
BackupMgr
• BackupMgr: BackupManager
Defined in
Repositories
• Private
Repositories: Object
Type declaration
Name | Type |
---|---|
CredentialMetadata | CredentialMetadataRepository |
Credentials | CredentialRepository |
DIDKeyLinks | DIDKeyLinkRepository |
DIDLinks | DIDLinkRepository |
DIDs | DIDRepository |
Keys | KeyRepository |
LinkSecrets | LinkSecretRepository |
Messages | MessageRepository |