rust/pv: Fix some comments

The library is used by multiple PV related tools, not only for managing
the guest secret store.
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2024-10-15 16:55:34 +00:00
committed by Steffen Eiden
parent 17aba9322e
commit fe2946f76c
13 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ use crate::Result;
mod helper;
mod test;
/// A HkdVerifier verifies that a host-key document(HKD) can be trusted.
/// A `HkdVerifier` verifies that a host-key document(HKD) can be trusted.
///
/// If the verification fails the HKD should not be used to create requests.
pub trait HkdVerifier {
@@ -62,7 +62,7 @@ impl HkdVerifier for CertVerifier {
/// This function verifies a host-key
/// document. To do so multiple steps are required:
///
/// 1. issuer(host_key) == subject(ibm_z_sign_key)
/// 1. `issuer(host_key`) == `subject(ibm_z_sign_key`)
/// 2. Signature verification
/// 3. @hkd must not be expired
/// 4. @hkd must not be revoked