use AtatCmd;
use KeyType;
use NoResponse;
/// This command allows to set the public key used to check the integrity of the upgrade packages.
///
/// Once this command is sent, the device expects the input of a <size>-byte PEM encoded public key.
///
/// The current public key can be obtained by using AT+SMNPK?.
///
/// # WARNING
///
/// This is a manufacturing mode command. You need to enter manufacturing mode with AT +CFUN=5 before using it.
///
/// # Prerequisite
///
/// AT+CFUN=5, OTP unlocked and pubkey not already set.