跳到主要内容

CryptoKeyUnlockOptions

Defined in: packages/rxdb-adapter-encrypted/src/keyring.ts:70

通过具备 encrypt/decrypt usage 的 AES-GCM-256 CryptoKey 解锁。

Extends​

  • UnlockLifecycleOptions

Properties​

idleTimeoutMs?​

optional idleTimeoutMs?: number;

Defined in: packages/rxdb-adapter-encrypted/src/keyring.ts:60

Inherited from​

UnlockLifecycleOptions.idleTimeoutMs

key​

key: CryptoKey;

Defined in: packages/rxdb-adapter-encrypted/src/keyring.ts:71


legacyEnvelopePolicy?​

optional legacyEnvelopePolicy?: LegacyEnvelopePolicy;

Defined in: packages/rxdb-adapter-encrypted/src/keyring.ts:61

Inherited from​

UnlockLifecycleOptions.legacyEnvelopePolicy