function · Browser and Node
tspSignatureValid
Checks the TSP signature, so a mesh node can drop forgeries and tag collisions before delivery.
@toip-tools/mesh-transportView sourceimport { tspSignatureValid } from "@toip-tools/mesh-transport";
Declaration
tspSignatureValid(p: TspParts, signingKey: Uint8Array): boolean;
Parameters
prequiredTspPartssigningKeyrequiredUint8Array<ArrayBufferLike>
Returns
boolean