PqStreamingHeader class

The fixed, canonical, signed part of a .pqfs streaming-envelope header.

It carries everything a reader needs to derive the DEM key and authenticate the frames, but never the payload. Serializing/parsing it is pure (no dart:io); the file plumbing lives in the streaming I/O service.

Constructors

PqStreamingHeader({required PqForgeProfile profile, required PqKemAlgorithm kemAlgorithm, PqSignatureAlgorithm? signatureAlgorithm, required Uint8List kemCiphertext, required Uint8List nonceSalt, required int frameSize, Uint8List? aadHash, Map<String, Object?>? metadata, String? signerKeyId})

Properties

aadHash → Uint8List?
final
frameSize → int
final
hashCode → int
The hash code for this object.
no setterinherited
isSigned → bool
no setter
kemAlgorithm → PqKemAlgorithm
final
kemCiphertext → Uint8List
final
metadata → Map<String, Object?>
final
nonceSalt → Uint8List
final
profile → PqForgeProfile
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signatureAlgorithm → PqSignatureAlgorithm?
final
signerKeyId → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited