mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Steffen Eiden
parent
17aba9322e
commit
fe2946f76c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user