MFMCIUMJUYCV2GW5P25D5753YBYXWIMLWKKWX4PABEM7ACUIBGWAC
pub fn set_algorithm(&mut self, algorithm: &[u8]) {
if let PublicKey::RSA { ref mut hash, .. } = self {
if algorithm == b"rsa-sha2-512" {
*hash = SignatureHash::SHA2_512
} else if algorithm == b"rsa-sha2-256" {
*hash = SignatureHash::SHA2_256
} else if algorithm == b"ssh-rsa" {
*hash = SignatureHash::SHA1
}
}
}