diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2022-08-10 13:23:45 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2022-08-16 11:04:43 +0200 |
commit | c4e6642f01ff45bfa4eea027b31c5418bfebb8b3 (patch) | |
tree | dda7a81febbfed9bed64f374c08b355656a6edca /openpgp/NEWS | |
parent | 3a3f59cc84acb2dd10c623c046201046ed6ea163 (diff) |
openpgp: Expose `HashAlgorithm::oid()` on all crypto backends.
- Expose `oid()` function for all cryptographic backends.
- Fix the description to accurately describe the bytes that are being
returned.
- Add the reference and note to the common use of this function.
- Add practical example of computing the entire `DigestInfo`
structure.
- Add mention of the change to the NEWS file.
- Add test case to check if the values match what Nettle is using.
- Fixes #919.
Diffstat (limited to 'openpgp/NEWS')
-rw-r--r-- | openpgp/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/NEWS b/openpgp/NEWS index 1a4ec42d..53b443b3 100644 --- a/openpgp/NEWS +++ b/openpgp/NEWS @@ -16,6 +16,8 @@ alternate formatter (e.g. =format!("{:#}", ...)=) - cert::KeyBuilder - cert::SubkeyBuilder + - HashAlgorithm::oid is available on all crypto backends + (previously only on Nettle) ** Deprecated functionality - Error::UnsupportedCert, use Error::UnsupportedCert2 instead - DataFormat::MIME, no replacement, see #863 for details |