feat: update pkcs11 piv

This commit is contained in:
2024-07-06 21:51:16 +08:00
parent 6002db37ae
commit baf80d52d1
2 changed files with 10 additions and 8 deletions

View File

@@ -42,6 +42,7 @@ impl Backend for YubikeyPivBackend {
fn find_all_certificates(
&self,
) -> P11Result<Vec<Box<dyn P11Certificate>>> {
// TODO ...
Ok(vec![])
}
@@ -54,6 +55,7 @@ impl Backend for YubikeyPivBackend {
KeySearchOptions::Label(label) => {}
KeySearchOptions::PublicKeyHash(public_key_hash) => {}
}
// TODO ...
Ok(None)
}
@@ -66,18 +68,21 @@ impl Backend for YubikeyPivBackend {
KeySearchOptions::Label(label) => {}
KeySearchOptions::PublicKeyHash(public_key_hash) => {}
}
// TODO ...
Ok(None)
}
fn find_all_private_keys(
&self,
) -> P11Result<Vec<Arc<dyn P11PrivateKey>>> {
// TODO ...
Ok(vec![])
}
fn find_all_public_keys(
&self,
) -> P11Result<Vec<Arc<dyn P11PublicKey>>> {
// TODO ...
Ok(vec![])
}