From 7b065dd3166c33c69a1bbcd407f363eedf871f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 5 Aug 2024 15:03:29 +0200 Subject: [PATCH] Remove old unused types These types are here from the first commit of trussed and are never used --- src/types.rs | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/types.rs b/src/types.rs index f533c9fe743..0d2472965be 100644 --- a/src/types.rs +++ b/src/types.rs @@ -495,34 +495,6 @@ pub enum ObjectType { Key(Secrecy), } -#[derive(Copy, Clone, Eq, PartialEq, Debug)] -pub struct PublicKeyAttributes { - // never return naked private key - sensitive: bool, - // always_sensitive: bool, - - // do not even return wrapped private key - extractable: bool, - // never_extractable: bool, - - // do not save to disk - persistent: bool, -} - -#[derive(Copy, Clone, Eq, PartialEq, Debug)] -pub struct PrivateKeyAttributes { - // never return naked private key - sensitive: bool, - // always_sensitive: bool, - - // do not even return wrapped private key - extractable: bool, - // never_extractable: bool, - - // do not save to disk - persistent: bool, -} - #[derive(Copy, Clone, Eq, PartialEq, Debug, Serialize, Deserialize)] pub enum Location { Volatile,