Tony Arcieri 48e33d8758 signature-crate: Replace DigestSignature with derive attr
The `DigestSignature` trait was originally used as the marker trait used
by a blanket impl of `Signer` for `DigestSigner` and `Verifier` for
`DigestVerifier` (#12, #16).

Unfortunately, this approach turned out to be too inflexible to cover
real-world use cases encountered and was replaced with a proc macro (#18)
The `DigestSignature` trait is leftover from this, and is no longer
needed.

This commit replaces it with a `#[digest(...)]` custom derive attribute
which can be used to specify the digest which should be used when
computing a signature.
2019-10-09 12:57:22 -07:00
2019-08-10 12:00:22 -07:00
2018-10-30 16:49:01 -07:00
2019-03-24 12:21:26 -07:00

RustCrypto: signatures

Build Status

Traits which provide generic, object-safe APIs for generating and verifying digital signatures.

All algorithms reside in the separate crates and implemented using traits from the signature crate. Additionally all crates do not require the standard library (i.e. no_std capable) and can be easily used for bare-metal or WebAssembly programming.

Supported algorithms

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

S
Description
Automated archival mirror of github.com/RustCrypto/signatures
Readme 11 MiB
Languages
Rust 100%