@orangecheck/lock-core / UnsealInput
Interface: UnsealInput
Defined in: lock-core/src/types.ts:82
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-device"></a> device | { device_id: string; secretKey: Uint8Array; } | - | lock-core/src/types.ts:84 |
device.device_id | string | - | lock-core/src/types.ts:85 |
device.secretKey | Uint8Array | 32-byte X25519 private key for this device. | lock-core/src/types.ts:87 |
<a id="property-envelope"></a> envelope | LockEnvelope | - | lock-core/src/types.ts:83 |
<a id="property-now"></a> now? | () => Date | Current time; defaults to Date.now(). Used for expiry enforcement. | lock-core/src/types.ts:98 |
<a id="property-skipsenderverification"></a> skipSenderVerification? | boolean | Skip sender signature verification. Default false; true only for self-seals. | lock-core/src/types.ts:96 |
<a id="property-verifybip322"></a> verifyBip322? | (msg: string, signatureB64: string, address: string) => Promise<boolean> | Called to verify the sender's BIP-322 signature. Returns true if valid. The verifier is injected because verification libraries differ between Node and browser contexts; consumers plug their own. | lock-core/src/types.ts:94 |