ot::Dns::KeyRecord::Init() method
Initializes the KEY Resource Record by setting its type and class. Other record fields (TTL, length, flags, protocol, algorithm) remain unchanged/uninitialized.
Arguments
aClass
The class of the resource record (default is `kClassInternet`).