Skip to main content

Module wakeup

Module wakeup 

Source
Expand description

Decode a wake-up datagram and optionally authenticate it on the host.

Modules§

verify
Offline verification for a single management recipient and a prevalidated GWA signing key. The wire layout is defined in BSI Detailspecification §2.1. The simulator’s freshness policy is strictly less than 30 seconds of skew. TR-03109-1 v1.1 §3.2.4.3 describes a ±30-second window, while its test specification, table 4.52 rejects packets at the two endpoints.

Structs§

UnverifiedWakeUp
Structurally parsed, unauthenticated fields borrowed from one complete datagram.
WakeUpPrefix
The exact 32 octets signed by the GWA in a version-one wake-up.

Enums§

ParseError
The structural check that failed. All inputs are treated as untrusted.
SignatureWidth
Width of one plain ECDSA signature component, selected from the trusted signing key’s curve. Selecting a width makes no algorithm-policy decision.

Constants§

ECDSA_PLAIN_SHA256_OID
DER OID contents for plain ECDSA with SHA-256 (0.4.0.127.0.7.1.1.4.1.3).

Functions§

parse
Inspect a complete version-one message with fixed space and bounded work.
valid_recipient
Check the structural constraints of a nine-octet wake-up recipient identifier. An application can use this when commissioning its own gateway ID.