From 396371f0827fc9815f57003e9c470a5aca3618c5 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 12 Jun 2023 20:25:28 +0200 Subject: [PATCH] Update types.rs: docs --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index 4e252fa..d10b639 100644 --- a/src/types.rs +++ b/src/types.rs @@ -67,7 +67,7 @@ impl<'d> RsaPublicParts<'d> { /// to convert to and from tha byte array format #[derive(Debug, Deserialize, Serialize)] pub struct RsaImportFormat<'d> { - /// big-endian integer representing the modulus of an RSA key + /// big-endian integer representing the exponent of the public part of the RSA key pub e: &'d [u8], /// big-endian integer representing the first prime of a private RSA key pub p: &'d [u8],