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

@orangecheck/agent-core


@orangecheck/agent-core / VerifySubdelegationInput

Interface: VerifySubdelegationInput

Defined in: agent-core/src/verify.ts:800

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
<a id="property-decryptscopeswith"></a> decryptScopesWith?&#123; device_id: string; secretKey: Uint8Array; &#125;v1.2 private-scope decryption key for the subdelegation envelope itself. Not used for the parent — the caller hydrates the parent.-agent-core/src/verify.ts:817
decryptScopesWith.device_idstring--agent-core/src/verify.ts:818
decryptScopesWith.secretKeyUint8Array--agent-core/src/verify.ts:819
<a id="property-envelope"></a> envelopeSubdelegationEnvelope--agent-core/src/verify.ts:801
<a id="property-now"></a> now?DateDefaults to new Date().-agent-core/src/verify.ts:812
<a id="property-parent"></a> parentChainLinkThe immediate parent envelope. Required for linkage / containment checks. If the parent is itself v1.2 private-mode (scopes_encrypted) the caller MUST pre-hydrate it (e.g., via verifyDelegation's returned envelope) — the chain walker reads parent.scopes directly.-agent-core/src/verify.ts:808
<a id="property-scopemode"></a> scopeMode?"strict" | "permissive"-VerifyBase.scopeModeagent-core/src/verify.ts:50
<a id="property-skipsignatureverification"></a> skipSignatureVerification?boolean-VerifyBase.skipSignatureVerificationagent-core/src/verify.ts:49
<a id="property-skiptemporalcheck"></a> skipTemporalCheck?booleanSkip the "now ∈ [issued, expires)" check. Useful for inspection.-agent-core/src/verify.ts:810
<a id="property-verifybip322"></a> verifyBip322?(msg: string, signatureB64: string, address: string) => Promise&lt;boolean>-VerifyBase.verifyBip322agent-core/src/verify.ts:48