diff --git a/src/agreement.rs b/src/agreement.rs index e195b9ee80..0dc5dc1f57 100644 --- a/src/agreement.rs +++ b/src/agreement.rs @@ -202,13 +202,13 @@ impl UnparsedPublicKey { Self { algorithm, bytes } } - /// TODO: doc + /// The key agreement algorithm of the unparsed public key #[inline] pub fn algorithm(&self) -> &'static Algorithm { self.algorithm } - /// TODO: doc + /// The bytes of the unparsed public key #[inline] pub fn bytes(&self) -> &B { &self.bytes