Wallet SDK Core
Modules
Classes
Example Usage
Handler Priority
Members
Constants
Functions
Typedefs
Interfaces
biometric-provider
biometric-provider.IDV_EVENTS ⇒ IBiometricProvider
IBiometricProviderParam
Type
Description
biometric-provider~setConfigs(configs)
Param
Type
Description
biometric-provider~isBiometricPluginEnabled() ⇒ boolean
booleanbiometric-provider~assertConfigs()
biometric-provider~getBiometricConfigs() ⇒ BiometricsProviderConfigs.<unknown>
BiometricsProviderConfigs.<unknown>biometric-provider~hasProofOfBiometrics(proofRequest) ⇒ boolean
booleanParam
Type
Description
cloud-wallet
cloud-wallet~deriveBiometricKey(biometricData, identifier) ⇒
Param
Description
cloud-wallet~deriveKeyMappingVaultKeys(biometricData, identifier) ⇒
Param
Description
cloud-wallet~deriveBiometricEncryptionKey(biometricData, identifier) ⇒
Param
Description
cloud-wallet~encryptMasterKey(masterKey, encryptionKey, iv) ⇒
Param
Description
cloud-wallet~decryptMasterKey(encryptedKey, decryptionKey, iv) ⇒
Param
Description
cloud-wallet~initializeKeyMappingVault(edvUrl, authKey, biometricData, identifier) ⇒
Param
Description
cloud-wallet~enrollUserWithBiometrics(edvUrl, authKey, biometricData, identifier) ⇒
Param
Description
cloud-wallet~getKeyMappingMasterKey(keyMappingEdv, identifier, decryptionKey, iv) ⇒
Param
Description
cloud-wallet~authenticateWithBiometrics(edvUrl, authKey, biometricData, identifier) ⇒
Param
Description
cloud-wallet~initializeCloudWalletWithBiometrics(edvUrl, authKey, biometricData, identifier, dataStore) ⇒
Param
Description
credential-provider
credential-provider~isValid(credential) ⇒ Promise.<Object>
Promise.<Object>Param
credential-provider~createCredentialProvider(params) ⇒ ICredentialProvider
ICredentialProviderParam
Type
Description
did-provider
did-provider~createDIDProvider(params) ⇒ IDIDProvider
IDIDProviderParam
Type
Description
message-provider
message-provider~createMessageProvider(params) ⇒ IMessageProvider
IMessageProviderParam
Type
Description
wallet
wallet~createWallet(props) ⇒ Promise.<IWallet>
Promise.<IWallet>Param
Type
Description
IV1Wallet
IWallet ⇐ IV1Wallet
IV1WalletIWallet.deleteWallet() ⇒ Promise.<void>
Promise.<void>IWallet.setStatus(newStatus)
Param
Type
Description
IWallet.setNetwork(networkId) ⇒ Promise.<void>
Promise.<void>Param
Type
Description
IWallet.getNetworkId() ⇒ string
stringIWallet.getDocumentById(id) ⇒ Promise.<WalletDocument>
Promise.<WalletDocument>Param
Type
Description
IWallet.getAllDocuments() ⇒ Promise.<Array.<WalletDocument>>
Promise.<Array.<WalletDocument>>IWallet.getDocumentsById(idList) ⇒ Promise.<Array.<WalletDocument>>
Promise.<Array.<WalletDocument>>Param
Type
Description
IWallet.getDocumentsByType(type) ⇒ Promise.<Array.<WalletDocument>>
Promise.<Array.<WalletDocument>>Param
Type
Description
IWallet.addDocument(json, [options]) ⇒ Promise.<WalletDocument>
Promise.<WalletDocument>Param
Type
Description
IWallet.updateDocument(document, [options]) ⇒ Promise.<WalletDocument>
Promise.<WalletDocument>Param
Type
Description
IWallet.removeDocument(id, [options]) ⇒ Promise.<void>
Promise.<void>Param
Type
Description
IWallet.getDocumentCorrelations(documentId) ⇒ Promise.<Array.<WalletDocument>>
Promise.<Array.<WalletDocument>>Param
Type
Description
IWallet.getAccountKeyPair(accountId) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
IWallet.getDocumentsFromEncryptedWallet(json, password) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
IWallet.importUniversalWalletJSON(json, password) ⇒ Promise.<void>
Promise.<void>Param
Type
Description
IWallet.exportDocuments(params) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
IWallet.exportUniversalWalletJSON(password) ⇒ any
anyParam
Type
Description
IDIDProvider
IDIDProvider.importDID(params) ⇒ Promise.<Array.<any>>
Promise.<Array.<any>>Param
Type
Description
IDIDProvider.createDIDKey(params) ⇒ Promise.<{keyDoc: any, didDocumentResolution: any}>
Promise.<{keyDoc: any, didDocumentResolution: any}>Param
Type
Description
IDIDProvider.editDID(params) ⇒ Promise.<void>
Promise.<void>Param
Type
Description
IDIDProvider.deleteDID(params) ⇒ Promise.<void>
Promise.<void>Param
Type
Description
IDIDProvider.exportDID(params) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
IDIDProvider.getAll() ⇒ Promise.<Array.<any>>
Promise.<Array.<any>>IDIDProvider.getDIDKeyPairs() ⇒ Promise.<Array.<any>>
Promise.<Array.<any>>IDIDProvider.ensureDID() ⇒ Promise.<({keyDoc: any, didDocumentResolution: any}|void)>
Promise.<({keyDoc: any, didDocumentResolution: any}|void)>IDIDProvider.getDefaultDID() ⇒ Promise.<(string|undefined)>
Promise.<(string|undefined)>IMessageProvider
IMessageProvider.fetchMessages ⇒ Promise.<void>
Promise.<void>IMessageProvider.addMessageListener ⇒ function
functionParam
Type
Description
IMessageProvider.processDIDCommMessages ⇒ Promise.<void>
Promise.<void>IMessageProvider.processMessageRecurrentJob ⇒ Promise.<void>
Promise.<void>IMessageProvider.markMessageAsRead ⇒ Promise.<void>
Promise.<void>Param
Type
Description
IMessageProvider.sendMessage(params) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
IMessageProvider.waitForMessage() ⇒ Promise.<any>
Promise.<any>IMessageProvider.startAutoFetch([timeout]) ⇒ function
functionParam
Type
Default
Description
IMessageProvider.clearCache() ⇒ Promise.<void>
Promise.<void>ICredentialProvider
ICredentialProvider.getCredentials ⇒ Array.<any>
Array.<any>Param
Type
Default
Description
ICredentialProvider.isBBSPlusCredential ⇒ boolean
booleanParam
Type
Description
ICredentialProvider.importCredentialFromURI(params) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
ICredentialProvider.getMembershipWitness(credentialId) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
ICredentialProvider.getById(id) ⇒ any
anyParam
Type
Description
ICredentialProvider.isValid(credential, [forceFetch]) ⇒ Promise.<Object> | string | string | string
Promise.<Object> | string | string | stringParam
Type
Default
Description
ICredentialProvider.getCredentialStatus(credential) ⇒ Promise.<Object> | string | string
Promise.<Object> | string | stringParam
Type
Description
ICredentialProvider.syncCredentialStatus(params) ⇒ Promise.<Array.<any>>
Promise.<Array.<any>>Param
Type
Default
Description
ICredentialProvider.addCredential(credential) ⇒ Promise.<any>
Promise.<any>Param
Type
Description
ICredentialProvider.removeCredential(credential) ⇒ Promise.<void>
Promise.<void>Param
Type
Description
IDVProcessOptions
BiometricPlugin
IDVProvider
IDVProviderFactory
IBiometricProvider
IBiometricProvider.startIDV
IBiometricProvider.eventEmitter
IBiometricProvider.startIDV(proofRequest) ⇒ Promise.<{enrollmentCredential: Credential, matchCredential: Credential}>
Promise.<{enrollmentCredential: Credential, matchCredential: Credential}>Param
Type
Description
DefaultQRCodeProcessor
new DefaultQRCodeProcessor()
defaultQRCodeProcessor.registerHandler(handler)
Param
Description
defaultQRCodeProcessor.unregisterHandler(id) ⇒
Param
Description
defaultQRCodeProcessor.getHandlers() ⇒
defaultQRCodeProcessor.getHandler(id) ⇒
Param
Description
defaultQRCodeProcessor.clearHandlers()
defaultQRCodeProcessor.process(data, options) ⇒
Param
Description
defaultQRCodeProcessor.defaultPrepareContext(data) ⇒
Param
Description
defaultQRCodeProcessor.withTimeout(promise, timeoutMs) ⇒
Param
Description
Goals ⇒
dockDocumentNetworkResolver
OID4VCHandler ⇒
Param
Description
oiD4VCHandler.canHandle(context) ⇒
Param
Description
oiD4VCHandler.handle(context) ⇒
Param
Description
DefaultQRCodeProcessor ⇒
Param
Description
new DefaultQRCodeProcessor()
defaultQRCodeProcessor.registerHandler(handler)
Param
Description
defaultQRCodeProcessor.unregisterHandler(id) ⇒
Param
Description
defaultQRCodeProcessor.getHandlers() ⇒
defaultQRCodeProcessor.getHandler(id) ⇒
Param
Description
defaultQRCodeProcessor.clearHandlers()
defaultQRCodeProcessor.process(data, options) ⇒
Param
Description
defaultQRCodeProcessor.defaultPrepareContext(data) ⇒
Param
Description
defaultQRCodeProcessor.withTimeout(promise, timeoutMs) ⇒
Param
Description
MessageTypes
buildRequestVerifiablePresentationMessage()
buildAckWalletToWalletVerificationMessage()
buildVerifiablePresentationMessage()
buildVerifiablePresentationAckMessage()
handleBlockchainNetworkChange()
WalletStatus : 'closed' | 'loading' | 'ready' | 'error'
'closed' | 'loading' | 'ready' | 'error'KeypairType : 'sr25519' | 'ed25519' | 'ecdsa'
'sr25519' | 'ed25519' | 'ecdsa'BiometricsProviderConfigs : Object
ObjectName
Type
Description
OID4VCHandler
Example Usage
Handler Priority
oiD4VCHandler.canHandle(context) ⇒
Param
Description
oiD4VCHandler.handle(context) ⇒
Param
Description
Last updated
Was this helpful?