Expand description
Offline inspection of a gateway administrator (GWA) wake-up message addressed to a smart meter gateway (SMGW).
The layout follows BSI TR-03109-1 Detailspecification v2.0, §2.1, tables 2.1–2.2. The timestamp follows the table’s explicit least-significant-byte-first rule. Its displayed hex example uses the opposite order.
Parsing returns borrowed, unauthenticated fields. The gateway host verifies the configured recipient, signature, freshness and replay history before accepting a wake-up.
Structs§
- Unverified
Wake Up - Structurally parsed, unauthenticated fields borrowed from one complete datagram.
- Wake
UpPrefix - The exact 32 octets signed by the GWA in a version-one wake-up.
Enums§
- Parse
Error - The structural check that failed. All inputs are treated as untrusted.
- Signature
Width - 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.