@orangecheck/agent-core / ScopesEncryptedEnvelope
Interface: ScopesEncryptedEnvelope
Defined in: agent-core/src/types.ts:54
v1.2 private-scope mode: a wholesale OC Lock v2 LockEnvelope wrapping the canonical scope list as its payload. We re-import the LockEnvelope type structurally rather than depending on the @orangecheck/lock-core type — agent- core's type surface stays loose so verifiers can be authored in either an agent-only or full-family setup.
Properties
| Property | Type | Defined in |
|---|---|---|
<a id="property-alg"></a> alg | { aead: "aes-256-gcm"; kdf: "hkdf-sha256"; kem: "x25519"; } | agent-core/src/types.ts:58 |
alg.aead | "aes-256-gcm" | agent-core/src/types.ts:58 |
alg.kdf | "hkdf-sha256" | agent-core/src/types.ts:58 |
alg.kem | "x25519" | agent-core/src/types.ts:58 |
<a id="property-ciphertext"></a> ciphertext | string | agent-core/src/types.ts:68 |
<a id="property-created_at"></a> created_at | string | agent-core/src/types.ts:71 |
<a id="property-expires_at"></a> expires_at | string | null | agent-core/src/types.ts:72 |
<a id="property-from"></a> from | { address: string; attestation_id?: string; } | agent-core/src/types.ts:59 |
from.address | string | agent-core/src/types.ts:59 |
from.attestation_id? | string | agent-core/src/types.ts:59 |
<a id="property-hint"></a> hint? | string | agent-core/src/types.ts:70 |
<a id="property-id"></a> id | string | agent-core/src/types.ts:57 |
<a id="property-kind"></a> kind | "identity" | agent-core/src/types.ts:56 |
<a id="property-nonce_ct"></a> nonce_ct | string | agent-core/src/types.ts:69 |
<a id="property-payment"></a> payment | unknown | agent-core/src/types.ts:73 |
<a id="property-recipients"></a> recipients | { address: string; device_id: string; device_pk: string; eph_pk: string; nonce_kek: string; wrapped_key: string; }[] | agent-core/src/types.ts:60 |
<a id="property-sig"></a> sig | { alg: "bip322"; pubkey: string; value: string; } | agent-core/src/types.ts:74 |
sig.alg | "bip322" | agent-core/src/types.ts:74 |
sig.pubkey | string | agent-core/src/types.ts:74 |
sig.value | string | agent-core/src/types.ts:74 |
<a id="property-v"></a> v | 2 | agent-core/src/types.ts:55 |