diff options
author | Brian Wellington <bwelling@xbill.org> | 2020-05-11 11:27:21 -0700 |
---|---|---|
committer | Brian Wellington <bwelling@xbill.org> | 2020-05-11 11:27:21 -0700 |
commit | e939d14ca3f6075b5fa572ac9da9d9413f1204d3 (patch) | |
tree | daa34c6a44f557aa0496ab90f35f2b9985f0ece8 | |
parent | b13e05c03d373bb7c5e7079ce6a69feb9fe4e7ee (diff) | |
download | dnspython-e939d14ca3f6075b5fa572ac9da9d9413f1204d3.tar.gz |
Improve validate() docs.
-rw-r--r-- | dns/dnssec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/dnssec.py b/dns/dnssec.py index 48a4a3f..c6f818d 100644 --- a/dns/dnssec.py +++ b/dns/dnssec.py @@ -464,8 +464,8 @@ def _validate_rrsig(rrset, rrsig, keys, origin=None, now=None): def _validate(rrset, rrsigset, keys, origin=None, now=None): - """Validate an RRset. Returns ``None`` if at least one signature - validates, or throws an exception if no signature validates. + """Validate an RRset against a signature RRset, throwing an exception + if none of the signatures validate. *rrset*, the RRset to validate. This can be a ``dns.rrset.RRset`` or a (``dns.name.Name``, ``dns.rdataset.Rdataset``) |