diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-06-30 11:57:44 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-06-30 12:30:28 +0200 |
commit | 1d2ad5f5e39884fee1464c0cefb114ba50ccf42f (patch) | |
tree | 4d3ae96aafc079db5b9d52c3f9099601149652ca /sqv | |
parent | b4fe59cb2d3e3cf5345ddc001771ca07b1529db4 (diff) |
openpgp: Check the signature's type when creating a signature.
- When calling `SignatureBuilder::sign_standalone`, etc. make sure
the signature type is valid for the type of signature being
created.
- But, allow `SignatureType::Unknown` to allow extensions, and to
make it possible to experiment with edge cases, e.g., for test
vectors.
Diffstat (limited to 'sqv')
0 files changed, 0 insertions, 0 deletions