live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/agent-core


@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

PropertyTypeDefined in
<a id="property-alg"></a> alg&#123; aead: "aes-256-gcm"; kdf: "hkdf-sha256"; kem: "x25519"; &#125;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> ciphertextstringagent-core/src/types.ts:68
<a id="property-created_at"></a> created_atstringagent-core/src/types.ts:71
<a id="property-expires_at"></a> expires_atstring | nullagent-core/src/types.ts:72
<a id="property-from"></a> from&#123; address: string; attestation_id?: string; &#125;agent-core/src/types.ts:59
from.addressstringagent-core/src/types.ts:59
from.attestation_id?stringagent-core/src/types.ts:59
<a id="property-hint"></a> hint?stringagent-core/src/types.ts:70
<a id="property-id"></a> idstringagent-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_ctstringagent-core/src/types.ts:69
<a id="property-payment"></a> paymentunknownagent-core/src/types.ts:73
<a id="property-recipients"></a> recipients&#123; address: string; device_id: string; device_pk: string; eph_pk: string; nonce_kek: string; wrapped_key: string; &#125;[]agent-core/src/types.ts:60
<a id="property-sig"></a> sig&#123; alg: "bip322"; pubkey: string; value: string; &#125;agent-core/src/types.ts:74
sig.alg"bip322"agent-core/src/types.ts:74
sig.pubkeystringagent-core/src/types.ts:74
sig.valuestringagent-core/src/types.ts:74
<a id="property-v"></a> v2agent-core/src/types.ts:55