openpgp-card: ExtendedCapabilities, make v2 command length getters private.
Command length negotiation is handled in this library, this information should never be useful to callers.
This commit is contained in:
parent
724be38e4f
commit
465847ea79
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ impl ExtendedCapabilities {
|
||||||
///
|
///
|
||||||
/// (For OpenPGP card version 3.x, see
|
/// (For OpenPGP card version 3.x, see
|
||||||
/// [`crate::card_do::ExtendedLengthInfo`])
|
/// [`crate::card_do::ExtendedLengthInfo`])
|
||||||
pub fn max_cmd_len(&self) -> Option<u16> {
|
pub(crate) fn max_cmd_len(&self) -> Option<u16> {
|
||||||
self.max_cmd_len
|
self.max_cmd_len
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ impl ExtendedCapabilities {
|
||||||
///
|
///
|
||||||
/// (For OpenPGP card version 3.x, see
|
/// (For OpenPGP card version 3.x, see
|
||||||
/// [`crate::card_do::ExtendedLengthInfo`])
|
/// [`crate::card_do::ExtendedLengthInfo`])
|
||||||
pub fn max_resp_len(&self) -> Option<u16> {
|
pub(crate) fn max_resp_len(&self) -> Option<u16> {
|
||||||
self.max_resp_len
|
self.max_resp_len
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue