conv.xfrBlob(d_certificate);
);
+boilerplate_conv(ZONEMD,
+ conv.xfr32BitInt(d_serial);
+ conv.xfr8BitInt(d_scheme);
+ conv.xfr8BitInt(d_hashalgo);
+ conv.xfrHexBlob(d_digest, true); // keep reading across spaces
+ );
+
boilerplate_conv(CERT,
conv.xfr16BitInt(d_type);
if (d_type == 0) throw MOADNSException("CERT type 0 is reserved");
L32RecordContent::report();
L64RecordContent::report();
LPRecordContent::report();
+ ZONEMDRecordContent::report();
}
void reportAllTypes()
struct soatimes d_st;
};
+class ZONEMDRecordContent : public DNSRecordContent
+{
+public:
+ includeboilerplate(ZONEMD)
+ //ZONEMDRecordContent(uint32_t serial, uint8_t scheme, uint8_t hashalgo, string digest);
+
+private:
+ uint32_t d_serial;
+ uint8_t d_scheme;
+ uint8_t d_hashalgo;
+ string d_digest;
+};
+
class NSECBitmap
{
public: