summaryrefslogtreecommitdiff
path: root/doc/message-class.rst
Commit message (Collapse)AuthorAgeFilesLines
* Add dns.tsig.Key class.Brian Wellington2020-07-011-3/+1
| | | | | | | | | | | | | | | | | | | | This creates a new class to represent a TSIG key, containing name, secret, and algorithm. The keyring format is changed to be {name : key}, and the methods in dns.tsigkeyring are updated to deal with old and new formats. The Message class is updated to use dns.tsig.Key, although (to avoid breaking existing code), it stores them in the keyring field. Message.use_tsig() can accept either explicit keys, or keyrings; it will extract and/or create a key. dns.message.from_wire() can accept either a key or a keyring in the keyring parameter. If passed a key, it will now raise if the TSIG record in the message was signed with a different key. If passed a keyring containing keys (as opposed to bare secrets), it will check that the TSIG record's algorithm matches that of the key.
* basic documentation updates for revised message hierarchyBob Halley2020-06-261-14/+5
|
* binary -> bytes, text -> strBob Halley2020-05-091-5/+5
|
* Message doco.Bob Halley2017-01-141-1/+9
| | | | | Add constants to allow a section name to be specified symbolically rather than by passing the actual section list value.
* checkpoint message docBob Halley2017-01-141-0/+139