private static void ImportKeyFromFile(AsymmetricAlgorithm asymmetricAlgorithm, string keyText, string?password)
 {
     if (password == null)
     {
         asymmetricAlgorithm.ImportFromPem(keyText);
     }
     else
     {
         asymmetricAlgorithm.ImportFromEncryptedPem(keyText, password);
     }
 }