diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-12-10 13:02:52 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-12-10 13:02:52 +0100 |
commit | cf4c70b46040a53bf3992a124ba70b1b1ca852f1 (patch) | |
tree | c321c5f549dc2d69519bd68bf540f78e7a294735 /openpgp-ffi/src/tsk.rs | |
parent | 34b930595f7e125cbbad64404c79de454c6e62ef (diff) |
Remove the ffi crates.
- Remove the general-purpose ffi crates. They will be moved into
their own repository. Note that we consider general-purpose ffi
crates to be a dead end: exposing Sequoia's interface requires a
large number of types and functions, and using the interface from
C turned out to be verbose and error-prone. Instead, we prefer to
write point solutions in Rust that implement exactly the
functionality the downstream consumer needs, then expose this via
ffi bindings.
- See https://gitlab.com/sequoia-pgp/sequoia-ffi.
Diffstat (limited to 'openpgp-ffi/src/tsk.rs')
-rw-r--r-- | openpgp-ffi/src/tsk.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/openpgp-ffi/src/tsk.rs b/openpgp-ffi/src/tsk.rs deleted file mode 100644 index 324ac082..00000000 --- a/openpgp-ffi/src/tsk.rs +++ /dev/null @@ -1,20 +0,0 @@ -//! Transferable secret keys. -//! -//! Wraps [`sequoia-openpgp::serialize::TSK`]. -//! -//! [`sequoia-openpgp::serialize::TSK`]: sequoia_openpgp::serialize::TSK - -use sequoia_openpgp as openpgp; - -/// A transferable secret key (TSK). -/// -/// A TSK (see [RFC 4880, section 11.2]) can be used to create -/// signatures and decrypt data. -/// -/// [RFC 4880, section 11.2]: https://tools.ietf.org/html/rfc4880#section-11.2 -/// -/// Wraps [`sequoia-openpgp::serialize::TSK`]. -/// -/// [`sequoia-openpgp::serialize::TSK`]: sequoia_openpgp::serialize::TSK -#[crate::ffi_wrapper_type(prefix = "pgp_", name = "tsk", derive = "Serialize")] -pub struct TSK<'a>(openpgp::serialize::TSK<'a>); |