* Set authenticated state and create handlers.
(encryptionKey: Uint8Array, isOwner: boolean)
| 390 | * Set authenticated state and create handlers. |
| 391 | */ |
| 392 | private setAuthenticated(encryptionKey: Uint8Array, isOwner: boolean): void { |
| 393 | this.encryptionKey = encryptionKey; |
| 394 | this.authenticated = true; |
| 395 | this.isOwner = isOwner; |
| 396 | this.handlers = createHandlers(this.encryptDict, encryptionKey); |
| 397 | } |
| 398 | |
| 399 | // ───────────────────────────────────────────────────────────────────────────── |
| 400 | // Encryption methods |
no test coverage detected