| 1 |
//! Changes key expiration. |
| 2 |
|
| 3 |
use crate::Sq; |
| 4 |
use crate::cli; |
| 5 |
use crate::common::key::expire; |
| 6 |
use crate::Result; |
| 7 |
|
| 8 |
pub fn dispatch(sq: Sq, command: cli::key::expire::Command) |
| 9 |
-> Result<()> |
| 10 |
{ |
| 11 |
expire(sq, command.cert, None, command.expiration.value(), |
| 12 |
command.output, false) |
| 13 |
} |