]> granicus.if.org Git - pdns/commitdiff
implement rfc4255
authorBert Hubert <bert.hubert@netherlabs.nl>
Mon, 3 Apr 2006 19:42:50 +0000 (19:42 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Mon, 3 Apr 2006 19:42:50 +0000 (19:42 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@649 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnsrecords.cc
pdns/dnsrecords.hh

index 2f9021ceccf46e3e7ec587692075fc29ece44048..5c5fe324a91e88f7079ea32899d03d87a104113b 100644 (file)
@@ -248,6 +248,13 @@ boilerplate_conv(DS, 43,
                 conv.xfrBlob(d_digest);
                 )
 
+
+boilerplate_conv(SSHFP, 44, 
+                conv.xfr8BitInt(d_algorithm); 
+                conv.xfr8BitInt(d_fptype); 
+                conv.xfrBlob(d_fingerprint);
+                )
+
 boilerplate_conv(RRSIG, 46, 
                 conv.xfrType(d_type); 
                 conv.xfr8BitInt(d_algorithm); 
index 7fa51ce20c96e2f430121ec7fc6df502d03dada3..ca87087cf35818480f9c5697e83fcdfa52b6dc01 100644 (file)
@@ -185,6 +185,15 @@ private:
   string d_digest;
 };
 
+class SSHFPRecordContent : public DNSRecordContent
+{
+public:
+  includeboilerplate(SSHFP)
+
+private:
+  uint8_t d_algorithm, d_fptype;
+  string d_fingerprint;
+};
 
 class RRSIGRecordContent : public DNSRecordContent
 {