Skip to content

EncryptedKeyPackageState

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

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:398

string


get ciphertext(): Uint8Array

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

Uint8Array


get groupId(): Uint8Array

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

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

Uint8Array


get keyId(): string

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

string


get keyPackage(): GroupKeyPackage

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

GroupKeyPackage


get nonce(): Uint8Array

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

Uint8Array

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

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

GroupStateProtector

Promise<Uint8Array<ArrayBufferLike>>


serialize(): Uint8Array

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

Uint8Array


static deserialize(bytes): EncryptedKeyPackageState

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

Uint8Array

EncryptedKeyPackageState


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

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

GroupKeyPackage

Uint8Array

GroupStateProtector

Promise<EncryptedKeyPackageState>