Skip to content

EncryptedKeyPackageState

Defined in: packages/core/src/group-security-provider.ts:392

Ciphertext-only envelope for one pending KeyPackage’s private material. The public KeyPackage and intended document group are authenticated as associated data so stored private material cannot be relabeled or reused in another group’s join.

get algorithm(): string

Defined in: packages/core/src/group-security-provider.ts:427

string


get ciphertext(): Uint8Array

Defined in: packages/core/src/group-security-provider.ts:439

Uint8Array


get groupId(): Uint8Array

Defined in: packages/core/src/group-security-provider.ts:423

Document group for which this one-time package may be consumed.

Uint8Array


get keyId(): string

Defined in: packages/core/src/group-security-provider.ts:431

string


get keyPackage(): GroupKeyPackage

Defined in: packages/core/src/group-security-provider.ts:418

GroupKeyPackage


get nonce(): Uint8Array

Defined in: packages/core/src/group-security-provider.ts:435

Uint8Array

open(protector): Promise<Uint8Array<ArrayBufferLike>>

Defined in: packages/core/src/group-security-provider.ts:478

GroupStateProtector

Promise<Uint8Array<ArrayBufferLike>>


serialize(): Uint8Array

Defined in: packages/core/src/group-security-provider.ts:505

Uint8Array


static deserialize(bytes): EncryptedKeyPackageState

Defined in: packages/core/src/group-security-provider.ts:519

Uint8Array

EncryptedKeyPackageState


static seal(keyPackage, privateState, protector): Promise<EncryptedKeyPackageState>

Defined in: packages/core/src/group-security-provider.ts:443

GroupKeyPackage

Uint8Array

GroupStateProtector

Promise<EncryptedKeyPackageState>