Generate DNS TLSA record rdata from a certificate and given parameters