feat: update comments
This commit is contained in:
@@ -65,16 +65,22 @@ pub struct TinyEncryptEnvelop {
|
|||||||
/// NOTICE: Kms and Age is not being supported in the future
|
/// NOTICE: Kms and Age is not being supported in the future
|
||||||
#[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, PartialOrd)]
|
#[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, PartialOrd)]
|
||||||
pub enum TinyEncryptEnvelopType {
|
pub enum TinyEncryptEnvelopType {
|
||||||
|
// OpenPGP RSA
|
||||||
#[serde(rename = "pgp")]
|
#[serde(rename = "pgp")]
|
||||||
Pgp,
|
Pgp,
|
||||||
|
// OpenPGP X25519
|
||||||
#[serde(rename = "pgp-x25519")]
|
#[serde(rename = "pgp-x25519")]
|
||||||
PgpX25519,
|
PgpX25519,
|
||||||
|
// Age, tiny-encrypt-rs is not supported
|
||||||
#[serde(rename = "age")]
|
#[serde(rename = "age")]
|
||||||
Age,
|
Age,
|
||||||
|
// ECDH P256
|
||||||
#[serde(rename = "ecdh")]
|
#[serde(rename = "ecdh")]
|
||||||
Ecdh,
|
Ecdh,
|
||||||
|
// ECDH P384
|
||||||
#[serde(rename = "ecdh-p384")]
|
#[serde(rename = "ecdh-p384")]
|
||||||
EcdhP384,
|
EcdhP384,
|
||||||
|
// KMS, tiny-encrypt-rs is not supported
|
||||||
#[serde(rename = "kms")]
|
#[serde(rename = "kms")]
|
||||||
Kms,
|
Kms,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user