interface · Browser and Node
TspParts
@toip-tools/mesh-transportView sourceimport { type TspParts } from "@toip-tools/mesh-transport";
Declaration
interface TspParts {
senderVid: string;
receiverVid: string;
/** The HPKE ephemeral key, 32 bytes. */
enc: Uint8Array;
/** The HPKE ciphertext with its 16-byte AEAD tag. */
ct: Uint8Array;
/** The Ed25519 signature over envelope and ciphertext, 64 bytes. */
signature: Uint8Array;
}
Properties
senderVidrequiredstringreceiverVidrequiredstringencrequiredUint8Array<ArrayBufferLike>The HPKE ephemeral key, 32 bytes.
ctrequiredUint8Array<ArrayBufferLike>The HPKE ciphertext with its 16-byte AEAD tag.
signaturerequiredUint8Array<ArrayBufferLike>The Ed25519 signature over envelope and ciphertext, 64 bytes.