encryption/EncryptionKeyStoreBrowser Service
File: src/services/encryption/EncryptionKeyStoreBrowser.ts
Overview
Exports
- EncryptionKeyStore - class export
Classes
EncryptionKeyStore
No description available.
Methods:
constructorinitializesetEncryptionKeygetIdentityKeyPairgetLocalRegistrationIdisTrustedIdentitysaveIdentityloadPreKeystorePreKeyremovePreKeyloadSessionstoreSessionloadSignedPreKeystoreSignedPreKeyremoveSignedPreKeysaveIdentityKeyPairencryptdecryptputInStoredeleteFromStorearrayBufferToBase64base64ToArrayBuffer
Properties:
dbuserIdencryptionKeyidentityKeyPairregistrationIdINITIALIZATIONrequestexistkeyPathsessionStoredataencoderpasswordDatapasswordkeyMaterialnamesaltiterationshashIMPLEMENTATIONstoredundefineddecryptedparsedpubKeyprivKeyidentifieridentityKeydirectionidentitiesverificationtrueencodedAddressKeynonblockingApprovaladdresskeyvaluetimestampkeyPairserializedencryptedidSessionRecordTyperecordHELPERSdataBytesivcombineddecodertransactionstoreMETHODSbytesbinaryi
Interfaces
StoredIdentity
No description available.
typescript
interface StoredIdentity {
keyPair: string // Base64 encoded encrypted data
registrationId: number
timestamp: number
}Constants
DB_NAME
No description available.
typescript
const DB_NAME = 'harmony_e2ee_keystore'DB_VERSION
No description available.
typescript
const DB_VERSION = 1STORES
No description available.
typescript
const STORES = {Source Code Insights
File Size: 12180 characters Lines of Code: 410 Imports: 2
Usage Example
typescript
import { EncryptionKeyStore } from '@/services/encryption/EncryptionKeyStoreBrowser'
// Example usage
// Use the exported functionalityThis documentation was automatically generated from the source code.
