Rename key module to piv (#277)

Now that the crate is named `yubikey` rather than `yubikey-piv`, it
makes more sense to call this module out as PIV-related functionality.
This commit is contained in:
Tony Arcieri (iqlusion)
2021-07-12 10:42:55 -07:00
committed by GitHub
parent e249e91297
commit e6cea2eca6
9 changed files with 56 additions and 37 deletions
+2 -2
View File
@@ -32,7 +32,7 @@
use crate::{
error::{Error, Result},
key::{sign_data, AlgorithmId, SlotId},
piv::{sign_data, AlgorithmId, SlotId},
serialization::*,
transaction::Transaction,
yubikey::YubiKey,
@@ -597,7 +597,7 @@ mod read_pki {
use rsa::{BigUint, RSAPublicKey};
use super::{OID_NIST_P256, OID_NIST_P384};
use crate::{key::AlgorithmId, Error, Result};
use crate::{piv::AlgorithmId, Error, Result};
/// From [RFC 8017](https://tools.ietf.org/html/rfc8017#appendix-A.1.1):
/// ```text