pub fn parse_key_file(contents: &str) -> Result<DnskeyRecord, DnssecError>Expand description
Parses a BIND public key file (K<zone>.+<alg>+<tag>.key): comment lines
start with ;, the remaining non-empty line is the DNSKEY RR.
ยงErrors
Returns DnssecError::NotDnskey if no DNSKEY record line is present,
or the underlying parse_dnskey_rr error for a malformed record line.