diff --git a/src/spec.rs b/src/spec.rs index 4ca9d42..6303ff9 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -65,16 +65,22 @@ pub struct TinyEncryptEnvelop { /// NOTICE: Kms and Age is not being supported in the future #[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, PartialOrd)] pub enum TinyEncryptEnvelopType { + // OpenPGP RSA #[serde(rename = "pgp")] Pgp, + // OpenPGP X25519 #[serde(rename = "pgp-x25519")] PgpX25519, + // Age, tiny-encrypt-rs is not supported #[serde(rename = "age")] Age, + // ECDH P256 #[serde(rename = "ecdh")] Ecdh, + // ECDH P384 #[serde(rename = "ecdh-p384")] EcdhP384, + // KMS, tiny-encrypt-rs is not supported #[serde(rename = "kms")] Kms, }