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
|
||||
#[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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user